From 36e02bfca457c3e70be6727654738343caf8a4b2 Mon Sep 17 00:00:00 2001 From: "tiago.kayaya" Date: Mon, 20 Dec 2021 12:39:39 +0100 Subject: [PATCH] Add error message if no aplicationId is send with ask. Improve pudblication detail page styling in css. --- .../book-meeting-modal.page.ts | 7 ++- .../publication-detail.page.html | 50 ++++++++----------- .../publication-detail.page.scss | 16 ++++-- 3 files changed, 36 insertions(+), 37 deletions(-) diff --git a/src/app/pages/gabinete-digital/expediente/book-meeting-modal/book-meeting-modal.page.ts b/src/app/pages/gabinete-digital/expediente/book-meeting-modal/book-meeting-modal.page.ts index 060b0afb9..87b8de6dd 100644 --- a/src/app/pages/gabinete-digital/expediente/book-meeting-modal/book-meeting-modal.page.ts +++ b/src/app/pages/gabinete-digital/expediente/book-meeting-modal/book-meeting-modal.page.ts @@ -261,6 +261,7 @@ export class BookMeetingModalPage implements OnInit { } if(this.task.FsId == '8') { + alert('Chegou') const loader = this.toastService.loading() try { switch (this.loggeduser.Profile) { @@ -307,11 +308,9 @@ export class BookMeetingModalPage implements OnInit { } finally { loader.remove() } - } - - if(true) { - // + else{ + this.toastService._successMessage('Não é possível marcar a reunião de momento'); } } diff --git a/src/app/shared/publication/view-publications/publication-detail/publication-detail.page.html b/src/app/shared/publication/view-publications/publication-detail/publication-detail.page.html index a4da7ec2c..42a9de4f1 100644 --- a/src/app/shared/publication/view-publications/publication-detail/publication-detail.page.html +++ b/src/app/shared/publication/view-publications/publication-detail/publication-detail.page.html @@ -1,24 +1,28 @@ - - + +
+
+ + +
+
+ {{publication.Title}} +

{{publication.DatePublication | date: 'dd-MM-yy | h:mm'}}

+
+
+
+
+ +
+
+ +

+
+
+
-
-
- - - - -
-
- {{publication.Title}} -

{{publication.DatePublication | date: 'dd-MM-yy | h:mm'}}

-
-
@@ -37,17 +41,7 @@
-
-
- - -
-
- -

-
-
-
+
image
diff --git a/src/app/shared/publication/view-publications/publication-detail/publication-detail.page.scss b/src/app/shared/publication/view-publications/publication-detail/publication-detail.page.scss index e0273da92..4aa8b4cf0 100644 --- a/src/app/shared/publication/view-publications/publication-detail/publication-detail.page.scss +++ b/src/app/shared/publication/view-publications/publication-detail/publication-detail.page.scss @@ -9,14 +9,15 @@ ion-toolbar{ border-width: 0 !important; } - .div-top-header{ + /* .div-top-header{ width: 400px; margin: 0 auto; background-color: #0782c9; overflow: auto; padding-top: 15px; border: 0!important; - } + border: 1px solid blue; + } */ .div-search{ font-size: 45px; float: left; @@ -47,13 +48,18 @@ .content-container{ width: 100%; margin:0 auto; - border-top-left-radius: 25px; border-top-right-radius: 25px; background: #ffffff; height: 100%; - padding: 25px 0px 0 0px; + padding: 0 !important; overflow: auto; } + + .post-item{ + //Do something + } + + .title-content{ overflow: auto; } @@ -86,4 +92,4 @@ .post-description{ margin: 0 auto; margin-bottom: 35px; -} \ No newline at end of file +}