File tree Expand file tree Collapse file tree 1 file changed +16
-10
lines changed
eda/eda_app/src/app/shared/components/eda-dialogs/eda-dialog2 Expand file tree Collapse file tree 1 file changed +16
-10
lines changed Original file line number Diff line number Diff line change 1212 [style] ="{width, height} "
1313 appendTo ="body ">
1414
15- < ng-template pTemplate ="header " *ngIf ="!header ">
16- < ng-content select ="[header] "> </ ng-content >
17- </ ng-template >
15+ @if(!header){
16+ < ng-template pTemplate ="header ">
17+ < ng-content select ="[header] "> </ ng-content >
18+ </ ng-template >
19+ }
1820
1921 < ng-template pTemplate ="content ">
2022 < div #contentWrapper >
2729 < div class ="flex justify-end p-2 border-t gap-1.5 ">
2830 < ng-content select ="[footer] "> </ ng-content >
2931
30- < button *ngIf ="ifShowClose " class ="cancel-button " (click) ="onClose() ">
31- < i class ="fa fa-times "> </ i >
32- < span i18n ="@@cancelarBtn "> Cancelar</ span >
33- </ button >
32+ @if(ifShowClose){
33+ < button class ="cancel-button " (click) ="onClose() ">
34+ < i class ="fa fa-times "> </ i >
35+ < span i18n ="@@cancelarBtn "> Cancelar</ span >
36+ </ button >
37+ }
3438
3539 @if(ifShowReset){
3640 < button class ="execute-button " (click) ="onReset() ">
5963 </ button >
6064 }
6165
62- < button *ngIf ="ifShowApply " class ="confirm-button " [disabled] ="disableApply " (click) ="onApply() ">
63- < i class ="fa fa-check "> </ i > < span i18n ="@@guardarBtn "> Confirmar</ span >
64- </ button >
66+ @if(ifShowApply){
67+ < button class ="confirm-button " [disabled] ="disableApply " (click) ="onApply() ">
68+ < i class ="fa fa-check "> </ i > < span i18n ="@@guardarBtn "> Confirmar</ span >
69+ </ button >
70+ }
6571 </ div >
6672 </ ng-template >
6773
You can’t perform that action at this time.
0 commit comments