url shortener, quotas, small improvements

This commit is contained in:
_Bastler
2021-06-05 19:49:20 +02:00
parent aef130dff4
commit 651352e4a1
23 changed files with 616 additions and 98 deletions
+9 -2
View File
@@ -8,9 +8,16 @@
</td>
</ng-container>
<ng-container matColumnDef="quota">
<ng-container matColumnDef="value">
<th mat-header-cell *matHeaderCellDef mat-sort-header="value"> {{'quotas.value' | i18n}} </th>
<td mat-cell *matCellDef="let quota"> {{quota.value}} </td>
<td mat-cell *matCellDef="let quota"><span *ngIf="quota.disposable">{{quota.value}}</span> </td>
</ng-container>
<ng-container matColumnDef="fixed_value">
<th mat-header-cell *matHeaderCellDef> {{'quotas.fixed_value' | i18n}} <mat-icon
#primaryHint="matTooltip" inline matTooltip="{{'quotas.fixed_value.hint' | i18n}}">info</mat-icon>
</th>
<td mat-cell *matCellDef="let quota"><span *ngIf="!quota.disposable">{{quota.value}}</span> </td>
</ng-container>
<ng-container matColumnDef="quotaUnit">
+1 -1
View File
@@ -11,7 +11,7 @@ export class QuotasComponent implements OnInit {
@Input() quotas;
quotaColumns = ["name", "quota", "quotaUnit"];
quotaColumns = ["name", "value", "fixed_value", "quotaUnit"];
constructor(private i18n: I18nService) {}