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="container-fluid">
<div class="row d-flex mt-2"> <div class="row mt-2">
<div class="col-auto align-self-center"> <div class="col-auto align-self-center">
<h4> {{ 'DESCRIPTION-EDITOR.DEPRECATED-DESCRIPTION-TEMPLATE.TITLE' | translate}} {{ data.label }}</h4> <h4> {{ 'DESCRIPTION-EDITOR.DEPRECATED-DESCRIPTION-TEMPLATE.TITLE' | translate}} {{ data.label }}</h4>
</div> </div>
@ -7,20 +7,21 @@
<mat-icon class="close-btn" (click)="cancel()">close</mat-icon> <mat-icon class="close-btn" (click)="cancel()">close</mat-icon>
</div> </div>
</div> </div>
<mat-dialog-content> <div mat-dialog-content>
<div class="row"> <div class="row">
<div class="col-12"> <div class="col-12">
<span>{{ 'DESCRIPTION-EDITOR.DEPRECATED-DESCRIPTION-TEMPLATE.MESSAGE' | translate}}</span> <span>{{ 'DESCRIPTION-EDITOR.DEPRECATED-DESCRIPTION-TEMPLATE.MESSAGE' | translate}}</span>
</div> </div>
</div> </div>
<div class="row mt-2"> </div>
<div class="col-auto"> <div mat-dialog-actions>
<button type="button" class="default-btn" (click)="cancel()"><span>{{ 'DESCRIPTION-EDITOR.DEPRECATED-DESCRIPTION-TEMPLATE.ACTIONS.CANCEL' | translate}}</span></button> <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>
<div class="col"></div>
<div class="col-auto"> <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> </div>
</mat-dialog-content> </div>
</div> </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." "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": { "DEPRECATED-DESCRIPTION-TEMPLATE": {
"TITLE": "Found a newer version of ", "TITLE": "New Version available for",
"MESSAGE": "The selected description template has become obsolete. Would you like to update it?", "MESSAGE": "Would you like to update to the new version?",
"ACTIONS": { "ACTIONS": {
"CANCEL": "Cancel", "CANCEL": "Cancel",
"UPDATE": "Update" "UPDATE": "Update"