1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-27 12:36:14 +01:00

no organizations message

This commit is contained in:
Kyle Spearrin 2018-07-02 10:58:07 -04:00
parent 3bb667f524
commit bd070ff066
2 changed files with 5 additions and 1 deletions

View File

@ -2,12 +2,13 @@
<i class="fa fa-spinner fa-spin"></i>
</p>
<ng-container *ngIf="loaded">
<ul class="fa-ul card-ul carets">
<ul class="fa-ul card-ul carets" *ngIf="organizations && organizations.length">
<li *ngFor="let o of organizations">
<a href="#" class="text-body" appStopClick appBlurClick (click)="selectOrganization(o)">
<i class="fa-li fa fa-caret-right"></i> {{o.name}}</a>
</li>
</ul>
<p *ngIf="!organizations || !organizations.length">{{'noOrganizationsList' | i18n}}</p>
</ng-container>
<button (click)="newOrganization()" class="btn btn-block btn-outline-primary">
<i class="fa fa-plus fa-fw"></i>

View File

@ -569,6 +569,9 @@
"newOrganization": {
"message": "New Organization"
},
"noOrganizationsList": {
"message": "You do not belong to any organizations."
},
"versionNumber": {
"message": "Version $VERSION_NUMBER$",
"placeholders": {