|
@@ -1,45 +1,45 @@
|
|
|
<div class="dimensions">
|
|
<div class="dimensions">
|
|
|
<div class="title">
|
|
<div class="title">
|
|
|
@if (isUpdate && !isAddedFromCharacter) {
|
|
@if (isUpdate && !isAddedFromCharacter) {
|
|
|
- Eigenschaft apassen
|
|
|
|
|
|
|
+ {{ "trait.modal.editTrait" | translate }}
|
|
|
} @else {
|
|
} @else {
|
|
|
- Eigenschaft erstellen
|
|
|
|
|
|
|
+ {{ "trait.modal.addTrait" | translate }}
|
|
|
}
|
|
}
|
|
|
</div>
|
|
</div>
|
|
|
<div class="flex-form t-15">
|
|
<div class="flex-form t-15">
|
|
|
<div>
|
|
<div>
|
|
|
- <div class="input-label">Name</div>
|
|
|
|
|
|
|
+ <div class="input-label">{{ "modal.name" | translate }}</div>
|
|
|
<mat-form-field appearance="outline" class="w-50">
|
|
<mat-form-field appearance="outline" class="w-50">
|
|
|
<input matInput [(ngModel)]="name" />
|
|
<input matInput [(ngModel)]="name" />
|
|
|
</mat-form-field>
|
|
</mat-form-field>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<div>
|
|
<div>
|
|
|
- <div class="input-label">Kurze Beschreibung</div>
|
|
|
|
|
|
|
+ <div class="input-label">{{ "modal.shortDescription" | translate }}</div>
|
|
|
<div class="NgxEditor__Wrapper">
|
|
<div class="NgxEditor__Wrapper">
|
|
|
<ngx-editor-menu [editor]="shortEditor" [toolbar]="toolbar">
|
|
<ngx-editor-menu [editor]="shortEditor" [toolbar]="toolbar">
|
|
|
</ngx-editor-menu>
|
|
</ngx-editor-menu>
|
|
|
<ngx-editor
|
|
<ngx-editor
|
|
|
[editor]="shortEditor"
|
|
[editor]="shortEditor"
|
|
|
[(ngModel)]="shortDescription"
|
|
[(ngModel)]="shortDescription"
|
|
|
- placeholder="Kurze Beschreibung der Eigenschaft"
|
|
|
|
|
|
|
+ [placeholder]="'traits.modal.shortPlaceholder' | translate"
|
|
|
></ngx-editor>
|
|
></ngx-editor>
|
|
|
</div>
|
|
</div>
|
|
|
- <div class="hint">Wird in der Übersicht angezeigt</div>
|
|
|
|
|
|
|
+ <div class="hint">{{ "traits.modal.shortHint" | translate }}</div>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<div>
|
|
<div>
|
|
|
- <div class="input-label">Ausführliche Beschreibung</div>
|
|
|
|
|
|
|
+ <div class="input-label">{{ "modal.longDescription" | translate }}</div>
|
|
|
<div class="NgxEditor__Wrapper">
|
|
<div class="NgxEditor__Wrapper">
|
|
|
<ngx-editor-menu [editor]="longEditor" [toolbar]="toolbar">
|
|
<ngx-editor-menu [editor]="longEditor" [toolbar]="toolbar">
|
|
|
</ngx-editor-menu>
|
|
</ngx-editor-menu>
|
|
|
<ngx-editor
|
|
<ngx-editor
|
|
|
[editor]="longEditor"
|
|
[editor]="longEditor"
|
|
|
[(ngModel)]="longDescription"
|
|
[(ngModel)]="longDescription"
|
|
|
- placeholder="Ausführliche Beschreibung der Eigenschaft"
|
|
|
|
|
|
|
+ [placeholder]="'traits.modal.longPlaceholder' | translate"
|
|
|
></ngx-editor>
|
|
></ngx-editor>
|
|
|
</div>
|
|
</div>
|
|
|
- <div class="hint">Wird in der Detailansicht angezeigt</div>
|
|
|
|
|
|
|
+ <div class="hint">{{ "traits.modal.longHint" | translate }}</div>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<div class="horizontal-buttons">
|
|
<div class="horizontal-buttons">
|