no items to list

This commit is contained in:
Kyle Spearrin 2018-06-11 09:17:24 -04:00
parent d21540878e
commit 21a126f31f
2 changed files with 5 additions and 3 deletions

View File

@ -49,11 +49,10 @@
</tbody>
</table>
<div class="no-items" *ngIf="searchedCiphers.length === 0">
<i class="fa fa-spinner fa-spin fa-3x" *ngIf="!loaded"></i>
<i class="fa fa-spinner fa-spin text-muted" *ngIf="!loaded"></i>
<ng-container *ngIf="loaded">
<i class="fa fa-frown-o fa-4x"></i>
<p>{{'noItemsInList' | i18n}}</p>
<button (click)="addCipher()" class="btn block primary link">{{'addItem' | i18n}}</button>
<button (click)="addCipher()" class="btn btn-outline-primary">{{'addItem' | i18n}}</button>
</ng-container>
</div>
</ng-container>

View File

@ -544,5 +544,8 @@
},
"lockNow": {
"message": "Lock Now"
},
"noItemsInList": {
"message": "There are no items to list."
}
}