diff --git a/src/app/pages/gabinete-digital/event-list/event-list.page.html b/src/app/pages/gabinete-digital/event-list/event-list.page.html index 2cad919fc..4cf249e2f 100644 --- a/src/app/pages/gabinete-digital/event-list/event-list.page.html +++ b/src/app/pages/gabinete-digital/event-list/event-list.page.html @@ -19,7 +19,7 @@ Calendário do MDGPR - Presidente da República + Calendário do Presidente da República diff --git a/src/app/pages/publications/publications.page.scss b/src/app/pages/publications/publications.page.scss index 84cd1fecb..931e4024f 100644 --- a/src/app/pages/publications/publications.page.scss +++ b/src/app/pages/publications/publications.page.scss @@ -233,7 +233,7 @@ ion-toolbar{ -@media only screen and (min-width: 801px) { +@media only screen and (min-width: 701px) { .content-right{ display: flex !important; width: 65%; diff --git a/src/app/shared/agenda/event-list/event-list.page.html b/src/app/shared/agenda/event-list/event-list.page.html index fb67da1f3..20f59f08d 100644 --- a/src/app/shared/agenda/event-list/event-list.page.html +++ b/src/app/shared/agenda/event-list/event-list.page.html @@ -14,7 +14,7 @@ Calendário do MDGPR - Presidente da República + Calendário do Presidente da República diff --git a/src/app/shared/gabinete-digital/events-to-approve/events-to-approve.page.html b/src/app/shared/gabinete-digital/events-to-approve/events-to-approve.page.html index f18bfbe76..232ec7e6e 100644 --- a/src/app/shared/gabinete-digital/events-to-approve/events-to-approve.page.html +++ b/src/app/shared/gabinete-digital/events-to-approve/events-to-approve.page.html @@ -13,7 +13,7 @@ Calendário do MDGPR - Presidente da República + Calendário do Presidente da República diff --git a/src/app/shared/publication/edit-action/edit-action.page.ts b/src/app/shared/publication/edit-action/edit-action.page.ts index 0dba3d430..d3380bafc 100644 --- a/src/app/shared/publication/edit-action/edit-action.page.ts +++ b/src/app/shared/publication/edit-action/edit-action.page.ts @@ -29,7 +29,7 @@ export class EditActionPage implements OnInit { public stepSecond = 5; public dateControlStart = new FormControl(moment("DD MM YYYY hh")); public dateControlEnd = new FormControl(moment("DD MM YYYY hh")); - + folder: PublicationFolder; @Input() folderId: string; @Output() closeDesktopComponent= new EventEmitter(); @@ -39,7 +39,7 @@ export class EditActionPage implements OnInit { constructor( private publicationsService: PublicationsService, private toastService: ToastService, - ) { + ) { this.folder = new PublicationFolder(); } @@ -54,7 +54,7 @@ export class EditActionPage implements OnInit { getPublicationDetail() { this.publicationsService.GetPresidentialAction(this.folderId).subscribe( res => { this.folder = res; - + this.dateControlStart = new FormControl(moment(new Date(this.folder.DateBegin))); this.dateControlEnd = new FormControl(moment(new Date(this.folder.DateEnd))); @@ -62,7 +62,7 @@ export class EditActionPage implements OnInit { } get dateValid() { - if (window.innerWidth <= 800) { + if (window.innerWidth < 701) { return this.folder.DateBegin < this.folder.DateEnd? ['ok']: [] } else { return ['ok'] @@ -96,7 +96,7 @@ export class EditActionPage implements OnInit { ActionType: this.folder.ActionType, } console.log(body); - + const loader = this.toastService.loading() try { @@ -111,6 +111,6 @@ export class EditActionPage implements OnInit { } finally { loader.remove() } - + } } diff --git a/src/app/shared/publication/new-action/new-action.page.ts b/src/app/shared/publication/new-action/new-action.page.ts index 2fff042a3..a91343064 100644 --- a/src/app/shared/publication/new-action/new-action.page.ts +++ b/src/app/shared/publication/new-action/new-action.page.ts @@ -70,7 +70,7 @@ export class NewActionPage implements OnInit { } get dateValid() { - if (window.innerWidth >= 800) { + if (window.innerWidth > 700) { return new Date(this.folder.DateBegin).toLocaleString('pt') < new Date(this.folder.DateEnd).toLocaleString("pt")? ['ok'] : [] } else { return ['ok'] diff --git a/src/app/shared/publication/view-publications/publication-detail/publication-detail.page.ts b/src/app/shared/publication/view-publications/publication-detail/publication-detail.page.ts index 2890a9b3e..f9e8f9f19 100644 --- a/src/app/shared/publication/view-publications/publication-detail/publication-detail.page.ts +++ b/src/app/shared/publication/view-publications/publication-detail/publication-detail.page.ts @@ -108,7 +108,7 @@ export class PublicationDetailPage implements OnInit { async editPost(publicationType:any) { console.log(this.publication); - if(window.innerWidth <= 1024){ + if(window.innerWidth < 701){ const modal = await this.modalController.create({ component: NewPublicationPage, componentProps:{ diff --git a/src/app/shared/publication/view-publications/view-publications.page.ts b/src/app/shared/publication/view-publications/view-publications.page.ts index 7c132928a..5f2a5f21c 100644 --- a/src/app/shared/publication/view-publications/view-publications.page.ts +++ b/src/app/shared/publication/view-publications/view-publications.page.ts @@ -180,7 +180,7 @@ export class ViewPublicationsPage implements OnInit { async AddPublication(publicationType:any, folderId:any) { - if( window.innerWidth <= 1024) { + if( window.innerWidth < 701) { const modal = await this.modalController.create({ component: NewPublicationPage, componentProps:{