|
|
@ -1,4 +1,7 @@
|
|
|
|
<div class="table-page-wrapper">
|
|
|
|
<div class="table-page-wrapper">
|
|
|
|
|
|
|
|
<h1 class="headline">
|
|
|
|
|
|
|
|
{{ headline }}
|
|
|
|
|
|
|
|
</h1>
|
|
|
|
<div class="table-control">
|
|
|
|
<div class="table-control">
|
|
|
|
<button
|
|
|
|
<button
|
|
|
|
mat-raised-button
|
|
|
|
mat-raised-button
|
|
|
@ -121,11 +124,14 @@
|
|
|
|
></app-cell>
|
|
|
|
></app-cell>
|
|
|
|
<ng-template #stringValue>
|
|
|
|
<ng-template #stringValue>
|
|
|
|
<span *ngIf="!column.link">{{ element[column.name] }}</span>
|
|
|
|
<span *ngIf="!column.link">{{ element[column.name] }}</span>
|
|
|
|
<a mat-button color="primary" *ngIf="column.link" [routerLink]="column.link(element)">{{
|
|
|
|
<a
|
|
|
|
element[column.name]
|
|
|
|
mat-button
|
|
|
|
}}</a>
|
|
|
|
color="primary"
|
|
|
|
|
|
|
|
*ngIf="column.link"
|
|
|
|
|
|
|
|
[routerLink]="column.link(element)"
|
|
|
|
|
|
|
|
>{{ element[column.name] }}</a
|
|
|
|
|
|
|
|
>
|
|
|
|
</ng-template>
|
|
|
|
</ng-template>
|
|
|
|
|
|
|
|
|
|
|
|
</td>
|
|
|
|
</td>
|
|
|
|
</ng-container>
|
|
|
|
</ng-container>
|
|
|
|
|
|
|
|
|
|
|
@ -198,7 +204,12 @@
|
|
|
|
<div
|
|
|
|
<div
|
|
|
|
class="button-wrapper"
|
|
|
|
class="button-wrapper"
|
|
|
|
*ngIf="element.newObject"
|
|
|
|
*ngIf="element.newObject"
|
|
|
|
[matTooltip]="(countUnvalidFields(element) > 0) ? ('Nicht ausgefüllte Pflichtfelder (rot): ' + countUnvalidFields(element)) : 'Erstellen'"
|
|
|
|
[matTooltip]="
|
|
|
|
|
|
|
|
countUnvalidFields(element) > 0
|
|
|
|
|
|
|
|
? 'Nicht ausgefüllte Pflichtfelder (rot): ' +
|
|
|
|
|
|
|
|
countUnvalidFields(element)
|
|
|
|
|
|
|
|
: 'Erstellen'
|
|
|
|
|
|
|
|
"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<button
|
|
|
|
<button
|
|
|
|
mat-icon-button
|
|
|
|
mat-icon-button
|
|
|
@ -230,5 +241,4 @@
|
|
|
|
<mat-spinner [diameter]="32"></mat-spinner>
|
|
|
|
<mat-spinner [diameter]="32"></mat-spinner>
|
|
|
|
</mat-card>
|
|
|
|
</mat-card>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|