url shortener, quotas, small improvements
This commit is contained in:
@@ -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">
|
||||
|
||||
@@ -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) {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user