Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 | 1x | <ish-info-box heading="account.costcenter.widget.title" class="infobox-wrapper" cssClass="infobox-widget">
<div class="loading-container">
@if ((loading$ | async) !== true) {
<div>
@if (costCenters$ | async; as costCenters) { @if (costCenters.length) { @for (cc of costCenters$ | async; track
cc.id) {
<div class="row mt-0 mb-3">
<div class="col-12 col-md-5">
<a [routerLink]="['/account/organization/cost-centers/', cc.id]"> {{ cc.costCenterId }} {{ cc.name }} </a>
</div>
<div class="col-12 col-md-7">
<ish-cost-center-budget [costCenter]="cc" progressBarClass="background-inverse" />
</div>
</div>
} } @else {
<div class="pb-3">{{ 'account.costcenter.widget.noitems' | translate }}</div>
} } @else {
<div class="pb-3">{{ 'account.costcenter.widget.noitems' | translate }}</div>
}
</div>
} @else {
<ish-loading />
}
<div class="row">
<div class="col-12">
<a routerLink="/account/organization/cost-centers">
{{ 'account.costcenter.widget.manage.link' | translate }}
</a>
</div>
</div>
</div>
</ish-info-box>
|