mirror of
https://github.com/bitwarden/clients.git
synced 2026-07-07 21:10:55 +08:00
* [Icons] Update Font Sheet * Prettier updates * Updated refresh -> generate * Updated closed folder icon * Reverted to using a base class * Update jslib * Removed unused import * Updated eye/eye-slash icon references * Update jslib * Updating fallback image for cipher icon * Update jslib * Removed duplicate icon base class * Update jslib * Prettier Co-authored-by: Hinton <oscar@oscarhinton.com>
43 lines
1.2 KiB
HTML
43 lines
1.2 KiB
HTML
<button
|
|
type="button"
|
|
(click)="selectCipher(cipher)"
|
|
(dblclick)="launchCipher(cipher)"
|
|
appStopClick
|
|
title="{{ title }} - {{ cipher.name }}"
|
|
class="box-content-row box-content-row-flex virtual-scroll-item"
|
|
>
|
|
<div class="row-main">
|
|
<app-vault-icon [cipher]="cipher"></app-vault-icon>
|
|
<div class="row-main-content">
|
|
<span class="text">
|
|
{{ cipher.name }}
|
|
<ng-container *ngIf="cipher.organizationId">
|
|
<i
|
|
class="bwi bwi-collection text-muted"
|
|
title="{{ 'shared' | i18n }}"
|
|
aria-hidden="true"
|
|
></i>
|
|
<span class="sr-only">{{ "shared" | i18n }}</span>
|
|
</ng-container>
|
|
<ng-container *ngIf="cipher.hasAttachments">
|
|
<i
|
|
class="bwi bwi-paperclip text-muted"
|
|
title="{{ 'attachments' | i18n }}"
|
|
aria-hidden="true"
|
|
></i>
|
|
<span class="sr-only">{{ "attachments" | i18n }}</span>
|
|
</ng-container>
|
|
</span>
|
|
<span class="detail">{{ cipher.subTitle }}</span>
|
|
</div>
|
|
</div>
|
|
<app-action-buttons
|
|
[cipher]="cipher"
|
|
[showView]="showView"
|
|
(onView)="viewCipher(cipher)"
|
|
(launchEvent)="launchCipher(cipher)"
|
|
class="action-buttons"
|
|
>
|
|
</app-action-buttons>
|
|
</button>
|