mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 04:57:52 +00:00
fix issues
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<ion-header *ngIf="task" class="ion-no-border ">
|
||||
<div *ngIf="dropButton" class="main-header mt-30 px-20">
|
||||
<div [ngClass]="{'d-item': !dropButton}" class="main-header mt-30 px-20">
|
||||
<div class="title-content width-100 d-flex justify-space-between align-center">
|
||||
<div class=" btn-dismiss font-30-rem cursor-pointer" (click)="goBack.emit()" defaultHref="#">
|
||||
<ion-icon *ngIf="ThemeService.currentTheme == 'default' " slot="end" src='assets/images/icons-arrow-arrow-left.svg'></ion-icon>
|
||||
@@ -28,7 +28,7 @@
|
||||
</div>
|
||||
|
||||
<div class=" flex-1 d-flex flex-column height-100 d-flex overflow-y-auto-desktop" >
|
||||
<div *ngIf="dropButton" class="upper-content" >
|
||||
<div [ngClass]="{'d-item': !dropButton}" class="upper-content" >
|
||||
<div class="content-details">
|
||||
<div class="mobile-header">
|
||||
<ion-label>
|
||||
@@ -44,7 +44,7 @@
|
||||
</ion-label>
|
||||
</div>
|
||||
</div>
|
||||
<div *ngIf="dropButton" class="line mx-20"></div>
|
||||
<div [ngClass]="{'d-item': !dropButton}" class="line mx-20"></div>
|
||||
|
||||
<div style="
|
||||
display: flex;
|
||||
@@ -52,7 +52,7 @@
|
||||
height: 100%;
|
||||
flex-grow: 1;
|
||||
" class="overflow-y-auto-desktop">
|
||||
<div class="middle-content" *ngIf="dropButton">
|
||||
<div class="middle-content" [ngClass]="{'d-item': !dropButton}">
|
||||
<h5 class="font-17-rem" *ngIf="intervenientes">Intervenientes</h5>
|
||||
<ion-item class="ion-no-margin ion-no-padding">
|
||||
<ion-label>
|
||||
@@ -123,12 +123,12 @@
|
||||
<div style="border-radius: 50px;position: relative;top: 3px;left: 25px;">
|
||||
|
||||
<ion-row class="timeline-date align-center pr-10 visionMobile-flex" >
|
||||
<button class="no-color" *ngIf="dropButton" (click)="dropButton=!dropButton" >
|
||||
<button class="no-color" [ngClass]="{'d-item': !dropButton}" (click)="changeDropButton()" >
|
||||
<ion-icon *ngIf="ThemeService.currentTheme == 'default' " class="collaps font-25" src="assets/images/icons-collaps-up.svg" ></ion-icon>
|
||||
<ion-icon *ngIf="ThemeService.currentTheme == 'gov' " class="collaps font-25" src="assets/images/theme/gov/icons-collaps-up.svg" ></ion-icon>
|
||||
<ion-icon *ngIf="ThemeService.currentTheme == 'doneIt' " class="collaps font-25" src="assets/images/theme/{{ThemeService.currentTheme}}/icons-collaps-up.svg"></ion-icon>
|
||||
</button>
|
||||
<button class="no-color visionMobile-flex" *ngIf="!dropButton" (click)="dropButton=!dropButton">
|
||||
<button class="no-color visionMobile-flex" *ngIf="!dropButton" (click)="changeDropButton()">
|
||||
<ion-icon *ngIf="ThemeService.currentTheme == 'default' " class="collaps font-25" src="assets/images/icons-collaps-down.svg" ></ion-icon>
|
||||
<ion-icon *ngIf="ThemeService.currentTheme == 'gov' " class="collaps font-25" src="assets/images/theme/gov/icons-collaps-down.svg" ></ion-icon>
|
||||
<ion-icon *ngIf="ThemeService.currentTheme == 'doneIt' " class="collaps font-25" src="assets/images/theme/{{ThemeService.currentTheme}}/icons-collaps-down.svg" ></ion-icon>
|
||||
|
||||
@@ -7,6 +7,7 @@ import { PermissionService } from 'src/app/services/permission.service';
|
||||
import { ExpedientTaskModalPage } from 'src/app/pages/gabinete-digital/expediente/expedient-task-modal/expedient-task-modal.page';
|
||||
import { ModalController } from '@ionic/angular';
|
||||
import { DocumentSetUpMeetingPage } from 'src/app/modals/document-set-up-meeting/document-set-up-meeting.page';
|
||||
import { HeaderSettingsService } from "src/app/services/header-settings.service"
|
||||
|
||||
@Component({
|
||||
selector: 'app-task-details',
|
||||
@@ -33,7 +34,8 @@ export class TaskDetailsPage implements OnInit {
|
||||
public DeviceService: DeviceService,
|
||||
private DocumentViewerOptionService: DocumentViewerOptionService,
|
||||
public p: PermissionService,
|
||||
private modalController: ModalController
|
||||
private modalController: ModalController,
|
||||
private HeaderSettingsService: HeaderSettingsService
|
||||
) {
|
||||
this.DeviceService.isDesktop();
|
||||
}
|
||||
@@ -120,7 +122,7 @@ export class TaskDetailsPage implements OnInit {
|
||||
backdropDismiss: false
|
||||
});
|
||||
|
||||
modal.onDidDismiss().then(res=>{
|
||||
modal.onDidDismiss().then(res => {
|
||||
//this.RouteService.goBack();
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
@@ -129,4 +131,8 @@ export class TaskDetailsPage implements OnInit {
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
changeDropButton() {
|
||||
this.dropButton = !this.dropButton;
|
||||
this.HeaderSettingsService.hideHeader = !this.dropButton
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user