templates aus listen erstellen
This commit is contained in:
@@ -42,10 +42,26 @@
|
||||
<mat-card-header>
|
||||
<mat-card-title>Details</mat-card-title>
|
||||
@if (!isCreateMode()) {
|
||||
<button mat-stroked-button type="button" (click)="showEditor() ? cancelEditing() : startEditing()">
|
||||
<mat-icon aria-hidden="true">{{ showEditor() ? 'close' : 'edit' }}</mat-icon>
|
||||
{{ showEditor() ? 'Abbrechen' : 'Bearbeiten' }}
|
||||
</button>
|
||||
<div class="detail-actions">
|
||||
<button
|
||||
mat-stroked-button
|
||||
type="button"
|
||||
[disabled]="creatingTemplate()"
|
||||
(click)="createTemplateFromList()"
|
||||
>
|
||||
@if (creatingTemplate()) {
|
||||
<mat-progress-spinner mode="indeterminate" diameter="18" />
|
||||
} @else {
|
||||
<mat-icon aria-hidden="true">content_copy</mat-icon>
|
||||
}
|
||||
Template
|
||||
</button>
|
||||
|
||||
<button mat-stroked-button type="button" (click)="showEditor() ? cancelEditing() : startEditing()">
|
||||
<mat-icon aria-hidden="true">{{ showEditor() ? 'close' : 'edit' }}</mat-icon>
|
||||
{{ showEditor() ? 'Abbrechen' : 'Bearbeiten' }}
|
||||
</button>
|
||||
</div>
|
||||
}
|
||||
</mat-card-header>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user