mirror of
https://github.com/bitwarden/browser
synced 2025-12-18 09:13:33 +00:00
cipher listings in vault work
This commit is contained in:
@@ -16,26 +16,12 @@
|
||||
</header>
|
||||
<content>
|
||||
<ng-container *ngIf="(ciphers | searchCiphers: searchText) as searchedCiphers">
|
||||
<div class="box list" *ngIf="searchedCiphers.length > 0">
|
||||
<div class="box list only-list" *ngIf="searchedCiphers.length > 0">
|
||||
<div class="box-header">
|
||||
Some name here
|
||||
</div>
|
||||
<div class="box-content">
|
||||
<a *ngFor="let c of searchedCiphers" appStopClick (click)="selectCipher(c)"
|
||||
href="#" title="{{'viewItem' | i18n}}" class="box-content-row box-content-row-flex">
|
||||
<div class="row-main">
|
||||
<app-vault-icon [cipher]="c"></app-vault-icon>
|
||||
<span class="text">
|
||||
{{c.name}}
|
||||
<i class="fa fa-share-alt text-muted" *ngIf="c.organizationId"
|
||||
title="{{'shared' | i18n}}"></i>
|
||||
<i class="fa fa-paperclip text-muted" *ngIf="c.hasAttachments"
|
||||
title="{{'attachments' | i18n}}"></i>
|
||||
</span>
|
||||
<span class="detail">{{c.subTitle}}</span>
|
||||
</div>
|
||||
<app-action-buttons [cipher]="c" class="action-buttons"></app-action-buttons>
|
||||
</a>
|
||||
<app-ciphers-list [ciphers]="searchedCiphers" title="{{'viewItem' | i18n}}"></app-ciphers-list>
|
||||
</div>
|
||||
</div>
|
||||
<div class="no-items" *ngIf="!searchedCiphers.length">
|
||||
|
||||
Reference in New Issue
Block a user