All files / projects/organization-management/src/app/components/budget-widget budget-widget.component.html

100% Statements 1/1
100% Branches 0/0
100% Functions 0/0
100% Lines 1/1

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 241x                                              
<ish-error-message [error]="error$ | async" />
<ish-info-box heading="account.requisitions.widget.budget_title" class="infobox-wrapper" cssClass="infobox-widget">
  <div class="loading-container">
    <div *ngIf="(budgetLoading$ | async) !== true; else loading">
      <div class="row">
        <div class="col-12">
          <ish-user-budget progressBarClass="background-inverse" [budget]="userBudget$ | async" />
        </div>
      </div>
      <div *ishIsAuthorizedTo="'APP_B2B_MANAGE_USERS'" class="row">
        <div class="col">
          <a routerLink="/account/organization/users">
            {{ 'account.requisitions.widget.manage_budgets' | translate }}
          </a>
        </div>
      </div>
    </div>
 
    <ng-template #loading>
      <ish-loading />
    </ng-template>
  </div>
</ish-info-box>