mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 08:13:42 +00:00
[PM-7161] browser v2 view container (#9723)
* Build new view-v2 component and reusable view sections. Custom Fields, Item Details, Attachments, Additional Info, Item History
This commit is contained in:
28
libs/vault/src/cipher-view/cipher-view.component.html
Normal file
28
libs/vault/src/cipher-view/cipher-view.component.html
Normal file
@@ -0,0 +1,28 @@
|
||||
<ng-container *ngIf="!!cipher">
|
||||
<!-- ITEM DETAILS -->
|
||||
<app-item-details-v2
|
||||
[cipher]="cipher"
|
||||
[organization]="organization$ | async"
|
||||
[collections]="collections$ | async"
|
||||
[folder]="folder$ | async"
|
||||
>
|
||||
</app-item-details-v2>
|
||||
|
||||
<!-- ADDITIONAL INFORMATION -->
|
||||
<ng-container *ngIf="cipher.notes">
|
||||
<app-additional-information [notes]="cipher.notes"> </app-additional-information>
|
||||
</ng-container>
|
||||
|
||||
<!-- CUSTOM FIELDS -->
|
||||
<ng-container *ngIf="cipher.fields">
|
||||
<app-custom-fields-v2 [fields]="cipher.fields"> </app-custom-fields-v2>
|
||||
</ng-container>
|
||||
|
||||
<!-- ATTACHMENTS SECTION -->
|
||||
<ng-container *ngIf="cipher.attachments">
|
||||
<app-attachments-v2 [cipher]="cipher"> </app-attachments-v2>
|
||||
</ng-container>
|
||||
|
||||
<!-- ITEM HISTORY SECTION -->
|
||||
<app-item-history-v2 [cipher]="cipher"> </app-item-history-v2>
|
||||
</ng-container>
|
||||
Reference in New Issue
Block a user