styling changes

This commit is contained in:
Sofia Papacharalampous 2024-05-15 14:35:40 +03:00
parent 5748876312
commit d400c0e71d
2 changed files with 11 additions and 10 deletions

View File

@ -1,5 +1,5 @@
<div class="container-fluid">
<div class="row d-flex mt-2">
<div class="row mt-2">
<div class="col-auto align-self-center">
<h4> {{ 'DESCRIPTION-EDITOR.DEPRECATED-DESCRIPTION-TEMPLATE.TITLE' | translate}} {{ data.label }}</h4>
</div>
@ -7,20 +7,21 @@
<mat-icon class="close-btn" (click)="cancel()">close</mat-icon>
</div>
</div>
<mat-dialog-content>
<div mat-dialog-content>
<div class="row">
<div class="col-12">
<span>{{ 'DESCRIPTION-EDITOR.DEPRECATED-DESCRIPTION-TEMPLATE.MESSAGE' | translate}}</span>
</div>
</div>
<div class="row mt-2">
</div>
<div mat-dialog-actions>
<div class="row w-100 mb-2">
<div class="ml-auto col-auto">
<button type="button" class="normal-btn-light-sm" (click)="cancel()"><span>{{ 'DESCRIPTION-EDITOR.DEPRECATED-DESCRIPTION-TEMPLATE.ACTIONS.CANCEL' | translate}}</span></button>
</div>
<div class="col-auto">
<button type="button" class="default-btn" (click)="cancel()"><span>{{ 'DESCRIPTION-EDITOR.DEPRECATED-DESCRIPTION-TEMPLATE.ACTIONS.CANCEL' | translate}}</span></button>
</div>
<div class="col"></div>
<div class="col-auto">
<button type="button" class="normal-btn" (click)="update()"><span>{{ 'DESCRIPTION-EDITOR.DEPRECATED-DESCRIPTION-TEMPLATE.ACTIONS.UPDATE' | translate}}</span></button>
<button type="button" class="normal-btn-sm" (click)="update()"><span>{{ 'DESCRIPTION-EDITOR.DEPRECATED-DESCRIPTION-TEMPLATE.ACTIONS.UPDATE' | translate}}</span></button>
</div>
</div>
</div>
</mat-dialog-content>
</div>

View File

@ -855,8 +855,8 @@
"MESSAGE": "Somebody else is modifying the description at this moment. You may view the description but you cannot make any changes. If you would like to modify it please come back later."
},
"DEPRECATED-DESCRIPTION-TEMPLATE": {
"TITLE": "Found a newer version of ",
"MESSAGE": "The selected description template has become obsolete. Would you like to update it?",
"TITLE": "New Version available for",
"MESSAGE": "Would you like to update to the new version?",
"ACTIONS": {
"CANCEL": "Cancel",
"UPDATE": "Update"