29 lines
857 B
HTML
29 lines
857 B
HTML
<bit-nav-group
|
|
*ngIf="activeOrganization$ | async as activeOrganization"
|
|
[text]="activeOrganization.name"
|
|
[ariaLabel]="['organization' | i18n, activeOrganization.name].join(' ')"
|
|
icon="bwi-business"
|
|
[route]="['../', activeOrganization.id]"
|
|
[(open)]="open"
|
|
[exactMatch]="true"
|
|
>
|
|
<ng-container *ngIf="organizations$ | async as organizations">
|
|
<bit-nav-item
|
|
*ngFor="let org of organizations"
|
|
[text]="org.name"
|
|
[ariaLabel]="['organization' | i18n, org.name].join(' ')"
|
|
[route]="['../', org.id]"
|
|
(mainContentClicked)="toggle()"
|
|
[hideActiveStyles]="true"
|
|
>
|
|
</bit-nav-item>
|
|
</ng-container>
|
|
<bit-nav-item
|
|
*ngIf="!hideNewButton"
|
|
icon="bwi-plus"
|
|
[text]="'newOrganization' | i18n"
|
|
route="/create-organization"
|
|
></bit-nav-item>
|
|
<bit-nav-divider></bit-nav-divider>
|
|
</bit-nav-group>
|