diff --git a/src/app/pages/gabinete-digital/diplomas-assinar/diploma-assinar/diploma-assinar.page.ts b/src/app/pages/gabinete-digital/diplomas-assinar/diploma-assinar/diploma-assinar.page.ts index 270c8c8f1..93915a8fb 100644 --- a/src/app/pages/gabinete-digital/diplomas-assinar/diploma-assinar/diploma-assinar.page.ts +++ b/src/app/pages/gabinete-digital/diplomas-assinar/diploma-assinar/diploma-assinar.page.ts @@ -252,7 +252,7 @@ export class DiplomaAssinarPage implements OnInit { component: PopupQuestionPage, componentProps: { 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", backdropDismiss: true diff --git a/src/app/pages/search/search.page.html b/src/app/pages/search/search.page.html index acf7eee60..bb8503403 100644 --- a/src/app/pages/search/search.page.html +++ b/src/app/pages/search/search.page.html @@ -98,10 +98,10 @@
  • -
    +
    -
    +
    @@ -111,10 +111,10 @@
  • -
    +
    -
    +
    diff --git a/src/app/pages/search/search.page.ts b/src/app/pages/search/search.page.ts index 9717e7c06..bbe14ea7f 100644 --- a/src/app/pages/search/search.page.ts +++ b/src/app/pages/search/search.page.ts @@ -89,6 +89,7 @@ export class SearchPage implements OnInit { select: boolean = false; showSearchInput = false + checkRoutPublication: boolean; @ViewChild('picker1') picker1: any; @@ -114,13 +115,16 @@ export class SearchPage implements OnInit { if (this.currentPath.includes('/home/agenda')) { this.type = "Agenda" + } else if (this.currentPath.includes('/home/gabinete-digital')) { this.type = "AccoesPresidenciais & ArquivoDespachoElect" + } else if (this.currentPath.includes('/home/publications')) { this.type = "AccoesPresidenciais" + } else { - + } } } @@ -193,6 +197,14 @@ export class SearchPage implements OnInit { ngOnInit() { + if(this.currentPath.includes('/home/publications')) { + this.checkRoutPublication = false; + console.log(this.checkRoutPublication) + } else { + this.checkRoutPublication = true; + console.log(this.checkRoutPublication) + } + this.wordCloud(); window.onresize = (event) => { diff --git a/src/app/shared/popover/deploma-options/deploma-options.page.ts b/src/app/shared/popover/deploma-options/deploma-options.page.ts index 3c97d9c02..b61f13b57 100644 --- a/src/app/shared/popover/deploma-options/deploma-options.page.ts +++ b/src/app/shared/popover/deploma-options/deploma-options.page.ts @@ -243,7 +243,7 @@ export class DiplomaOptionsPage implements OnInit { component: PopupQuestionPage, componentProps: { 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",