mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
change word
This commit is contained in:
@@ -33,63 +33,11 @@
|
||||
</button>
|
||||
|
||||
</div>
|
||||
|
||||
<!-- Move forward one screen of the slides -->
|
||||
<h2 class="capitaliseText d-flex align-center">
|
||||
{{ viewTitle }}
|
||||
|
||||
<!-- <div (click)="dropdownScrollWeal = true; onDropDownScrollWeal()" class="cursor-pointer">
|
||||
<ion-icon *ngIf="ThemeService.currentTheme == 'default' " style="font-size: 19pt;" src="assets/images/icons-arrow-arrow-down.svg" ></ion-icon>
|
||||
<ion-icon *ngIf="ThemeService.currentTheme == 'gov' " style="font-size: 19pt;" src="assets/images/theme/gov/icons-arrow-arrow-down.svg" ></ion-icon>
|
||||
<ion-icon *ngIf="ThemeService.currentTheme == 'doneIt' " slot="icon-only" src="assets/images/theme/{{ThemeService.currentTheme}}/icons-arrow-arrow-down.svg"></ion-icon>
|
||||
</div> -->
|
||||
|
||||
</h2>
|
||||
|
||||
<!-- <div class="dropdown-scroll-weel cursor-pointer" *ngIf="dropdownScrollWeal" >
|
||||
<div class="flex-grow-1 height-100 overflow-y-auto">
|
||||
<ul>
|
||||
<li (click)="changeMonth(0)" [class.active]="monthNum==0" ><span>Jan</span></li>
|
||||
<li (click)="changeMonth(1)" [class.active]="monthNum==1"><span>Fev</span></li>
|
||||
<li (click)="changeMonth(2)" [class.active]="monthNum==2"><span>Mar</span></li>
|
||||
<li (click)="changeMonth(3)" [class.active]="monthNum==3"><span>Abr</span></li>
|
||||
<li (click)="changeMonth(4)" [class.active]="monthNum==4"><span>Maio</span></li>
|
||||
<li (click)="changeMonth(5)" [class.active]="monthNum==5"><span>Jun</span></li>
|
||||
<li (click)="changeMonth(6)" [class.active]="monthNum==6"><span>Jul</span></li>
|
||||
<li (click)="changeMonth(7)" [class.active]="monthNum==7"><span>Ago</span></li>
|
||||
<li (click)="changeMonth(8)" [class.active]="monthNum==8"><span>Set</span></li>
|
||||
<li (click)="changeMonth(9)" [class.active]="monthNum==9"><span>Out</span></li>
|
||||
<li (click)="changeMonth(10)" [class.active]="monthNum==10"><span>Nov</span></li>
|
||||
<li (click)="changeMonth(11)" [class.active]="monthNum==11"><span>Dez</span></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="flex-grow-1 height-100 overflow-y-auto">
|
||||
<ul>
|
||||
<li (click)="changeYear(2010)" [class.active]="yearNum==2010"><span>2010</span></li>
|
||||
<li (click)="changeYear(2011)" [class.active]="yearNum==2011"><span>2011</span></li>
|
||||
<li (click)="changeYear(2012)" [class.active]="yearNum==2012"><span>2012</span></li>
|
||||
<li (click)="changeYear(2013)" [class.active]="yearNum==2013"><span>2013</span></li>
|
||||
<li (click)="changeYear(2014)" [class.active]="yearNum==2014"><span>2014</span></li>
|
||||
<li (click)="changeYear(2015)" [class.active]="yearNum==2015"><span>2015</span></li>
|
||||
<li (click)="changeYear(2016)" [class.active]="yearNum==2016"><span>2016</span></li>
|
||||
<li (click)="changeYear(2017)" [class.active]="yearNum==2017"><span>2017</span></li>
|
||||
<li (click)="changeYear(2018)" [class.active]="yearNum==2018"><span>2018</span></li>
|
||||
<li (click)="changeYear(2019)" [class.active]="yearNum==2019"><span>2019</span></li>
|
||||
<li (click)="changeYear(2020)" [class.active]="yearNum==2020"><span>2020</span></li>
|
||||
<li (click)="changeYear(2021)" [class.active]="yearNum==2021"><span>2021</span></li>
|
||||
<li (click)="changeYear(2022)" [class.active]="yearNum==2022"><span>2022</span></li>
|
||||
<li (click)="changeYear(2023)" [class.active]="yearNum==2023"><span>2023</span></li>
|
||||
<li (click)="changeYear(2024)" [class.active]="yearNum==2024"><span>2024</span></li>
|
||||
<li (click)="changeYear(2025)" [class.active]="yearNum==2025"><span>2025</span></li>
|
||||
<li (click)="changeYear(2026)" [class.active]="yearNum==2026"><span>2026</span></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div *ngIf="dropdownScrollWeal" class="dropdown-scroll-weel-background" (click)="dropdownScrollWeal = false">
|
||||
|
||||
</div> -->
|
||||
|
||||
<div (click)="next()" class="arrow cursor-pointer resize">
|
||||
<ion-icon *ngIf="ThemeService.currentTheme == 'default' " slot="icon-only" src="assets/images/icons-calendar-arrow-right.svg"></ion-icon>
|
||||
<ion-icon *ngIf="ThemeService.currentTheme == 'gov' " slot="icon-only" src="assets/images/theme/gov/icons-calendar-arrow-right.svg"></ion-icon>
|
||||
@@ -108,12 +56,6 @@
|
||||
<mat-form-field class="select-calendar" appearance="none" color="ion-color-secondary" placeholder="Selecione agenda">
|
||||
<mat-select [(value)]="CalendarName" (selectionChange)="reloadCalendar()">
|
||||
|
||||
<!-- <mat-option *ngFor="let calendars of _eventService.calendarNamesAry; let i = index" value="{{calendars}}">
|
||||
<div *ngIf="calendars != 'Meu calendario' && calendars == 'Presidente da República'"> {{ environment.agendaPR}} </div>
|
||||
<div *ngIf="calendars != 'Meu calendario' && calendars == 'Ministro e Director do Gabinete do PR'"> {{ environment.agendaVP}} </div>
|
||||
<div *ngIf="calendars != 'Meu calendario' && calendars != 'Ministro e Director do Gabinete do PR' && calendars != 'Presidente da República'"> Agenda do {{calendars}} </div>
|
||||
|
||||
<div *ngIf="calendars == 'Meu calendario'"> Minha agenda </div> -->
|
||||
<mat-option *ngFor="let calendars of eventService.calendarNamesAry" value="{{calendars.Fullname || calendars}}">
|
||||
|
||||
<div *ngIf="environment.presidential">
|
||||
@@ -162,27 +104,6 @@
|
||||
</ion-row>
|
||||
<ion-row class="ion-align-items-center calendar-options">
|
||||
|
||||
<!-- <div class="calendar-letters cal-reverse" *ngIf="SessionStore.user.Profile != 'PR' && SessionStore.user.Profile != 'MDGPR' && eventService.hasSharedCalendar && eventService.hasOwnCalendar" class="calendar-letters" [class.cal-reverse]="profile == 'mdgpr' " (click)="changeProfile()">
|
||||
<div class="text" *ngIf="profile == 'mdgpr'">
|
||||
MC
|
||||
</div>
|
||||
|
||||
<div class="text" *ngIf="profile == 'pr'">
|
||||
CP
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<button *ngIf="profile == 'mdgpr' && ( SessionStore.user.Profile == 'PR' || SessionStore.user.Profile == 'MDGPR') && 21ujeventService.hasSharedCalendar " (click)="changeProfile()" class="d-md-none btn-no-color resize">
|
||||
<ion-icon class="right-icons" src="assets/images/icons-profile-calendar-md.svg"></ion-icon>
|
||||
</button>
|
||||
|
||||
<button title="Mudar de Agenda" *ngIf="profile == 'pr'&& ( SessionStore.user.Profile == 'PR' || SessionStore.user.Profile == 'MDGPR') && eventService.hasSharedCalendar" (click)="changeProfile()" class="btn-no-color resize">
|
||||
<ion-icon class="right-icons d-md-none" src="assets/images/icons-profile-calendar-pr.svg"></ion-icon>
|
||||
</button>
|
||||
-->
|
||||
|
||||
<button title="Visualizar a lista de Eventos para aprovação" class="cursor-pointer resize pr-10" (click)="viewEventsToApprove()" *ngIf="p.userPermission([p.permissionList.Gabinete.aprove_event])">
|
||||
<ion-icon *ngIf="ThemeService.currentTheme == 'default' " class="right-icons" src="assets/images/icons-received-event.svg"></ion-icon>
|
||||
<ion-icon *ngIf="ThemeService.currentTheme == 'gov' && !mobileComponent.showEventList" class="right-icons" src="assets/images/theme/gov/icons-received-event.svg"></ion-icon>
|
||||
|
||||
@@ -4,10 +4,9 @@ import { EventBody } from 'src/app/models/eventbody.model';
|
||||
import { EventsService } from 'src/app/services/events.service';
|
||||
import { Event } from '../../../models/event.model';
|
||||
import { EditEventPage } from '../edit-event/edit-event.page';
|
||||
import { ActivatedRoute, Router } from '@angular/router';
|
||||
import { ActivatedRoute } from '@angular/router';
|
||||
import { ToastService } from 'src/app/services/toast.service';
|
||||
import { EliminateEventPage } from 'src/app/modals/eliminate-event/eliminate-event.page';
|
||||
import { SqliteService } from 'src/app/services/sqlite.service';
|
||||
import { ExpedientTaskModalPageNavParamsTask } from 'src/app/models/ExpedientTaskModalPage';
|
||||
import { DocumentSetUpMeetingPage } from 'src/app/modals/document-set-up-meeting/document-set-up-meeting.page';
|
||||
import { ExpedientTaskModalPage } from '../../gabinete-digital/expediente/expedient-task-modal/expedient-task-modal.page';
|
||||
@@ -16,9 +15,7 @@ import { BackgroundService } from 'src/app/services/background.service';
|
||||
import { StorageService } from 'src/app/services/storage.service';
|
||||
import { ThemeService } from 'src/app/services/theme.service'
|
||||
import { RouteService } from 'src/app/services/route.service';
|
||||
import { Storage } from '@ionic/storage';
|
||||
import { SessionStore } from 'src/app/store/session.service';
|
||||
import { CalendarService } from 'src/app/store/calendar.service';
|
||||
import { HttpErrorHandle} from 'src/app/services/http-error-handle.service'
|
||||
import { AttachmentsService } from 'src/app/services/attachments.service';
|
||||
|
||||
@@ -63,16 +60,12 @@ export class ViewEventPage implements OnInit {
|
||||
public alertController: AlertController,
|
||||
public popoverController: PopoverController,
|
||||
private activatedRoute: ActivatedRoute,
|
||||
private router: Router,
|
||||
private toastService: ToastService,
|
||||
public platform: Platform,
|
||||
private sqliteservice: SqliteService,
|
||||
private backgroundservice: BackgroundService,
|
||||
private storage: StorageService,
|
||||
public ThemeService: ThemeService,
|
||||
private RouteService: RouteService,
|
||||
private ionicStorage: Storage,
|
||||
private CalendarService: CalendarService,
|
||||
private httpErrorHandle: HttpErrorHandle,
|
||||
private attachmentsService: AttachmentsService,
|
||||
) {
|
||||
@@ -249,7 +242,7 @@ export class ViewEventPage implements OnInit {
|
||||
{
|
||||
text: 'Não',
|
||||
handler: () => {
|
||||
console.log('Let me think');
|
||||
// sconsole.log('Let me think');
|
||||
}
|
||||
},
|
||||
{
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@
|
||||
<ion-content>
|
||||
<div class="header-content width-100">
|
||||
<div class="header-title d-flex width-100">
|
||||
<h3>Deseja retirar este expediente da sua caixa de correspondência?</h3>
|
||||
<h3>Deseja arquivar este expediente?</h3>
|
||||
</div>
|
||||
</div>
|
||||
<div class="header-body width-100">
|
||||
|
||||
@@ -268,7 +268,8 @@ export class GabineteDigitalPage implements OnInit {
|
||||
|
||||
|
||||
checkFilter() {
|
||||
|
||||
const currentFilter = this.filterName
|
||||
|
||||
if(this.router.url.includes('ForToDay')) {
|
||||
this.filterName = 'Para hoje'
|
||||
} else if (this.router.url.includes('OverdueTasks')) {
|
||||
@@ -279,6 +280,10 @@ export class GabineteDigitalPage implements OnInit {
|
||||
this.filterName = 'Não lidos'
|
||||
}
|
||||
|
||||
if(currentFilter != this.filterName) {
|
||||
this.dynamicSearch()
|
||||
}
|
||||
console.log('this.filterName', this.filterName)
|
||||
}
|
||||
|
||||
|
||||
@@ -359,6 +364,8 @@ export class GabineteDigitalPage implements OnInit {
|
||||
this.hideInMobile = false;
|
||||
this.segmentVista = "listview";
|
||||
}
|
||||
|
||||
this.checkFilter();
|
||||
}
|
||||
|
||||
checkRoutes() {
|
||||
|
||||
Reference in New Issue
Block a user