mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 01:54:15 +00:00
23 lines
1.3 KiB
HTML
23 lines
1.3 KiB
HTML
<div class="container">
|
|
<div class="row">
|
|
<ng-container *ngVar="(dsoRD$ | async)?.payload as dso">
|
|
<div class="col-12 pb-4">
|
|
<h2 id="header" class="border-bottom pb-2">{{ 'community.delete.head' | translate}}</h2>
|
|
<p class="pb-2">{{ 'community.delete.text' | translate:{ dso: dsoNameService.getName(dso) } }}</p>
|
|
<div class="form-group row">
|
|
<div class="col text-right space-children-mr">
|
|
<button class="btn btn-outline-secondary" (click)="onCancel(dso)" [disabled]="(processing$ | async)">
|
|
<i class="fas fa-times"></i> {{'community.delete.cancel' | translate}}
|
|
</button>
|
|
<button class="btn btn-danger" (click)="onConfirm(dso)" [disabled]="(processing$ | async)">
|
|
<span *ngIf="processing$ | async"><i class='fas fa-circle-notch fa-spin'></i> {{'community.delete.processing' | translate}}</span>
|
|
<span *ngIf="!(processing$ | async)"><i class="fas fa-trash"></i> {{'community.delete.confirm' | translate}}</span>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</ng-container>
|
|
</div>
|
|
|
|
</div>
|