mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
DSC-1111 Provided buttons next to the logo upload/delete to save changes in the edit community page
This commit is contained in:

committed by
Mattia Vianelli

parent
055122918f
commit
ab52cdb158
@@ -21,6 +21,9 @@
|
||||
(click)="undoDeleteLogo()">
|
||||
<i class="fas fa-undo" aria-hidden="true"></i>
|
||||
</button>
|
||||
<button *ngIf="markLogoForDeletion" type="submit" class="btn btn-primary" (click)="onSubmit()">
|
||||
<i class="fas fa-square-minus"></i> {{ "community.edit.logo.delete.title" | translate}}
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@@ -38,6 +38,9 @@
|
||||
<button type="button" class="btn btn-danger" title="{{'uploader.delete.btn-title' | translate}}" (click)="uploader.clearQueue()" [disabled]="!uploader.queue.length">
|
||||
<i class="fas fa-trash" aria-hidden="true"></i>
|
||||
</button>
|
||||
<button type="submit" class="btn btn-primary" (click)="uploader.uploadAll()">
|
||||
<i class="fas fa-square-plus"></i> {{ "community.edit.logo.add.title" | translate}}
|
||||
</button>
|
||||
</div>
|
||||
<span *ngIf="uploader.progress < 100 && !(uploader.progress === 0 && !uploader.options.autoUpload)" class="float-right mr-3">{{ uploader.progress }}%</span>
|
||||
<span *ngIf="uploader.progress === 100" class="float-right mr-3">{{'uploader.processing' | translate}}</span>
|
||||
|
@@ -1226,6 +1226,8 @@
|
||||
|
||||
"community.edit.logo.delete.title": "Delete logo",
|
||||
|
||||
"community.edit.logo.add.title": "Add logo",
|
||||
|
||||
"community.edit.logo.delete-undo.title": "Undo delete",
|
||||
|
||||
"community.edit.logo.label": "Community logo",
|
||||
|
Reference in New Issue
Block a user