mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 21:06:06 +00:00
Add error message if no aplicationId is send with ask.
Improve pudblication detail page styling in css.
This commit is contained in:
+3
-4
@@ -261,6 +261,7 @@ export class BookMeetingModalPage implements OnInit {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if(this.task.FsId == '8') {
|
if(this.task.FsId == '8') {
|
||||||
|
alert('Chegou')
|
||||||
const loader = this.toastService.loading()
|
const loader = this.toastService.loading()
|
||||||
try {
|
try {
|
||||||
switch (this.loggeduser.Profile) {
|
switch (this.loggeduser.Profile) {
|
||||||
@@ -307,11 +308,9 @@ export class BookMeetingModalPage implements OnInit {
|
|||||||
} finally {
|
} finally {
|
||||||
loader.remove()
|
loader.remove()
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
else{
|
||||||
if(true) {
|
this.toastService._successMessage('Não é possível marcar a reunião de momento');
|
||||||
//
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
+22
-28
@@ -1,24 +1,28 @@
|
|||||||
<!-- <ion-header class="ion-no-border">
|
<ion-header class="ion-no-border">
|
||||||
|
<div *ngIf="publication.Title != ''" class="title-content d-flex pl-20 pt-25">
|
||||||
|
<div class="back-icon cursor-pointer" (click)="goBack()">
|
||||||
</ion-header> -->
|
<ion-icon *ngIf="ThemeService.currentTheme == 'default' " slot="end" src='assets/images/icons-arrow-arrow-left.svg'></ion-icon>
|
||||||
|
<ion-icon *ngIf="ThemeService.currentTheme == 'gov' " slot="end" src='assets/images/theme/gov/icons-calendar-arrow-left.svg'></ion-icon>
|
||||||
|
</div>
|
||||||
|
<div class="div-title">
|
||||||
|
<ion-label class="title"> {{publication.Title}}</ion-label>
|
||||||
|
<p class="post-data">{{publication.DatePublication | date: 'dd-MM-yy | h:mm'}}</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div *ngIf="publication.Title == ''" class="title-contentd-flex pl-20 pt-25">
|
||||||
|
<div class="back-icon cursor-pointer">
|
||||||
|
<ion-icon (click)="goBack()" slot="end" src='assets/images/assets/images/theme/gov/icons-calendar-arrow-left.svg'></ion-icon>
|
||||||
|
</div>
|
||||||
|
<div class="div-title">
|
||||||
|
<ion-label class="title"><ion-skeleton-text animated style="width: 60%;"></ion-skeleton-text></ion-label>
|
||||||
|
<p class="post-data"><ion-skeleton-text animated style="width: 20%;"></ion-skeleton-text></p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</ion-header>
|
||||||
<ion-content>
|
<ion-content>
|
||||||
|
|
||||||
<div class="content-container">
|
<div class="content-container">
|
||||||
<div *ngIf="publication.Title != ''">
|
<div *ngIf="publication.Title != ''">
|
||||||
<div class="title-content d-flex pl-20">
|
|
||||||
<div class="back-icon cursor-pointer" (click)="goBack()">
|
|
||||||
|
|
||||||
<ion-icon *ngIf="ThemeService.currentTheme == 'default' " slot="end" src='assets/images/icons-arrow-arrow-left.svg'></ion-icon>
|
|
||||||
<ion-icon *ngIf="ThemeService.currentTheme == 'gov' " slot="end" src='assets/images/theme/gov/icons-calendar-arrow-left.svg'></ion-icon>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
<div class="div-title">
|
|
||||||
<ion-label class="title"> {{publication.Title}}</ion-label>
|
|
||||||
<p class="post-data">{{publication.DatePublication | date: 'dd-MM-yy | h:mm'}}</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<ion-refresher name="refresher" slot="fixed" (ionRefresh)="doRefresh($event)">
|
<ion-refresher name="refresher" slot="fixed" (ionRefresh)="doRefresh($event)">
|
||||||
<ion-progress-bar type="indeterminate" *ngIf="showLoader"></ion-progress-bar>
|
<ion-progress-bar type="indeterminate" *ngIf="showLoader"></ion-progress-bar>
|
||||||
<ion-refresher-content>
|
<ion-refresher-content>
|
||||||
@@ -37,17 +41,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div *ngIf="publication.Title == ''">
|
<div *ngIf="publication.Title == ''">
|
||||||
<div class="title-content">
|
<div class="post-item px-20">
|
||||||
<div class="back-icon cursor-pointer">
|
|
||||||
<ion-icon *ngIf="ThemeService.currentTheme == 'default' " (click)="close()" slot="end" src='assets/images/icons-arrow-arrow-left.svg'></ion-icon>
|
|
||||||
<ion-icon *ngIf="ThemeService.currentTheme == 'default' " (click)="close()" slot="end" src='assets/images/assets/images/theme/gov/icons-calendar-arrow-left.svg'></ion-icon>
|
|
||||||
</div>
|
|
||||||
<div class="div-title">
|
|
||||||
<ion-label class="title"><ion-skeleton-text animated style="width: 60%;"></ion-skeleton-text></ion-label>
|
|
||||||
<p class="post-data"><ion-skeleton-text animated style="width: 20%;"></ion-skeleton-text></p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="post-item">
|
|
||||||
<div class="post-img">
|
<div class="post-img">
|
||||||
<img src="/assets/icon/icon-no-image.svg" alt="image">
|
<img src="/assets/icon/icon-no-image.svg" alt="image">
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
+11
-5
@@ -9,14 +9,15 @@
|
|||||||
ion-toolbar{
|
ion-toolbar{
|
||||||
border-width: 0 !important;
|
border-width: 0 !important;
|
||||||
}
|
}
|
||||||
.div-top-header{
|
/* .div-top-header{
|
||||||
width: 400px;
|
width: 400px;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
background-color: #0782c9;
|
background-color: #0782c9;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
padding-top: 15px;
|
padding-top: 15px;
|
||||||
border: 0!important;
|
border: 0!important;
|
||||||
}
|
border: 1px solid blue;
|
||||||
|
} */
|
||||||
.div-search{
|
.div-search{
|
||||||
font-size: 45px;
|
font-size: 45px;
|
||||||
float: left;
|
float: left;
|
||||||
@@ -47,13 +48,18 @@
|
|||||||
.content-container{
|
.content-container{
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin:0 auto;
|
margin:0 auto;
|
||||||
border-top-left-radius: 25px;
|
|
||||||
border-top-right-radius: 25px;
|
border-top-right-radius: 25px;
|
||||||
background: #ffffff;
|
background: #ffffff;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
padding: 25px 0px 0 0px;
|
padding: 0 !important;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.post-item{
|
||||||
|
//Do something
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
.title-content{
|
.title-content{
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
}
|
}
|
||||||
@@ -86,4 +92,4 @@
|
|||||||
.post-description{
|
.post-description{
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
margin-bottom: 35px;
|
margin-bottom: 35px;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user