mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 13:26:08 +00:00
hide fild from search on publications route
This commit is contained in:
+1
-1
@@ -252,7 +252,7 @@ export class DiplomaAssinarPage implements OnInit {
|
|||||||
component: PopupQuestionPage,
|
component: PopupQuestionPage,
|
||||||
componentProps: {
|
componentProps: {
|
||||||
title: 'Deseja assinar este Diploma?',
|
title: 'Deseja assinar este Diploma?',
|
||||||
message: 'Nota: Ao Efetuar esta operação, o tratamento deste diploma não poderá ser realizado a partir da caixa de correspondência'
|
/* message: 'Nota: Ao Efetuar esta operação, o tratamento deste diploma não poderá ser realizado a partir da caixa de correspondência' */
|
||||||
},
|
},
|
||||||
cssClass: "popup-question discart-expedient-modal",
|
cssClass: "popup-question discart-expedient-modal",
|
||||||
backdropDismiss: true
|
backdropDismiss: true
|
||||||
|
|||||||
@@ -98,10 +98,10 @@
|
|||||||
</li>
|
</li>
|
||||||
<!-- Sender -->
|
<!-- Sender -->
|
||||||
<li *ngIf="showAdvanceSearch" class="d-flex date-container ion-justify-content-between">
|
<li *ngIf="showAdvanceSearch" class="d-flex date-container ion-justify-content-between">
|
||||||
<div class="icon-mer icon">
|
<div *ngIf="checkRoutPublication" class="icon-mer icon">
|
||||||
<ion-icon name="restaurant-outline" src="assets/images/icons-advance-search-sender.svg"></ion-icon>
|
<ion-icon name="restaurant-outline" src="assets/images/icons-advance-search-sender.svg"></ion-icon>
|
||||||
</div>
|
</div>
|
||||||
<div class="input-container d-flex ion-align-items-center">
|
<div *ngIf="checkRoutPublication" class="input-container d-flex ion-align-items-center">
|
||||||
<ion-input [(ngModel)]='searchSenderdescription' class="search-input cursor-pointer" (click)="openAdvanceSearchSelection()" type="search" placeholder="Remetentes"></ion-input>
|
<ion-input [(ngModel)]='searchSenderdescription' class="search-input cursor-pointer" (click)="openAdvanceSearchSelection()" type="search" placeholder="Remetentes"></ion-input>
|
||||||
<div class="icon cursor-pointer" (click)="clearInputRemetente()" >
|
<div class="icon cursor-pointer" (click)="clearInputRemetente()" >
|
||||||
<ion-icon *ngIf="ThemeService.currentTheme == 'default' "name="restaurant-outline" src="assets/images/icons-search-close.svg"></ion-icon>
|
<ion-icon *ngIf="ThemeService.currentTheme == 'default' "name="restaurant-outline" src="assets/images/icons-search-close.svg"></ion-icon>
|
||||||
@@ -111,10 +111,10 @@
|
|||||||
</li>
|
</li>
|
||||||
<!-- Organic entity -->
|
<!-- Organic entity -->
|
||||||
<li *ngIf="showAdvanceSearch" class="d-flex date-container ion-justify-content-between">
|
<li *ngIf="showAdvanceSearch" class="d-flex date-container ion-justify-content-between">
|
||||||
<div class="icon-mer icon">
|
<div *ngIf="checkRoutPublication" class="icon-mer icon">
|
||||||
<ion-icon name="restaurant-outline" src="assets/images/icons-arrow-arrow-down-25-copy.svg"></ion-icon>
|
<ion-icon name="restaurant-outline" src="assets/images/icons-arrow-arrow-down-25-copy.svg"></ion-icon>
|
||||||
</div>
|
</div>
|
||||||
<div class="input-container d-flex ion-align-items-center">
|
<div *ngIf="checkRoutPublication" class="input-container d-flex ion-align-items-center">
|
||||||
<ion-input [(ngModel)]='searchOrganicEntiryDescription' class="search-input custom-checkbox" type="search" placeholder="Entidade Orgânica" (click)="openOrganicEntitySelection()"></ion-input>
|
<ion-input [(ngModel)]='searchOrganicEntiryDescription' class="search-input custom-checkbox" type="search" placeholder="Entidade Orgânica" (click)="openOrganicEntitySelection()"></ion-input>
|
||||||
<div class="icon cursor-pointer" (click)="clearInputOrganicEntity()" >
|
<div class="icon cursor-pointer" (click)="clearInputOrganicEntity()" >
|
||||||
<ion-icon *ngIf="ThemeService.currentTheme == 'default' " name="restaurant-outline" src="assets/images/icons-search-close.svg"></ion-icon>
|
<ion-icon *ngIf="ThemeService.currentTheme == 'default' " name="restaurant-outline" src="assets/images/icons-search-close.svg"></ion-icon>
|
||||||
|
|||||||
@@ -89,6 +89,7 @@ export class SearchPage implements OnInit {
|
|||||||
select: boolean = false;
|
select: boolean = false;
|
||||||
|
|
||||||
showSearchInput = false
|
showSearchInput = false
|
||||||
|
checkRoutPublication: boolean;
|
||||||
|
|
||||||
|
|
||||||
@ViewChild('picker1') picker1: any;
|
@ViewChild('picker1') picker1: any;
|
||||||
@@ -114,11 +115,14 @@ export class SearchPage implements OnInit {
|
|||||||
|
|
||||||
if (this.currentPath.includes('/home/agenda')) {
|
if (this.currentPath.includes('/home/agenda')) {
|
||||||
this.type = "Agenda"
|
this.type = "Agenda"
|
||||||
|
|
||||||
} else if (this.currentPath.includes('/home/gabinete-digital')) {
|
} else if (this.currentPath.includes('/home/gabinete-digital')) {
|
||||||
this.type = "AccoesPresidenciais & ArquivoDespachoElect"
|
this.type = "AccoesPresidenciais & ArquivoDespachoElect"
|
||||||
|
|
||||||
|
|
||||||
} else if (this.currentPath.includes('/home/publications')) {
|
} else if (this.currentPath.includes('/home/publications')) {
|
||||||
this.type = "AccoesPresidenciais"
|
this.type = "AccoesPresidenciais"
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -193,6 +197,14 @@ export class SearchPage implements OnInit {
|
|||||||
|
|
||||||
ngOnInit() {
|
ngOnInit() {
|
||||||
|
|
||||||
|
if(this.currentPath.includes('/home/publications')) {
|
||||||
|
this.checkRoutPublication = false;
|
||||||
|
console.log(this.checkRoutPublication)
|
||||||
|
} else {
|
||||||
|
this.checkRoutPublication = true;
|
||||||
|
console.log(this.checkRoutPublication)
|
||||||
|
}
|
||||||
|
|
||||||
this.wordCloud();
|
this.wordCloud();
|
||||||
|
|
||||||
window.onresize = (event) => {
|
window.onresize = (event) => {
|
||||||
|
|||||||
@@ -243,7 +243,7 @@ export class DiplomaOptionsPage implements OnInit {
|
|||||||
component: PopupQuestionPage,
|
component: PopupQuestionPage,
|
||||||
componentProps: {
|
componentProps: {
|
||||||
title: 'Deseja assinar este Diploma?',
|
title: 'Deseja assinar este Diploma?',
|
||||||
message: 'Nota: Ao Efetuar esta operação, o tratamento deste diploma não poderá ser realizado a partir da caixa de correspondência'
|
/* message: 'Nota: Ao Efetuar esta operação, o tratamento deste diploma não poderá ser realizado a partir da caixa de correspondência' */
|
||||||
|
|
||||||
},
|
},
|
||||||
cssClass: "popup-question discart-expedient-modal",
|
cssClass: "popup-question discart-expedient-modal",
|
||||||
|
|||||||
Reference in New Issue
Block a user