mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-30 13:03:53 +01:00
sharing from cipher create
This commit is contained in:
parent
5ebe1a2269
commit
b2ac33f451
@ -303,6 +303,36 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="box" *ngIf="!editMode && ownershipOptions && ownershipOptions.length > 1">
|
||||||
|
<div class="box-header">
|
||||||
|
{{'ownership' | i18n}}
|
||||||
|
</div>
|
||||||
|
<div class="box-content">
|
||||||
|
<div class="box-content-row" appBoxRow>
|
||||||
|
<label for="organizationId">{{'whoOwnsThisItem' | i18n}}</label>
|
||||||
|
<select id="organizationId" class="form-control" name="OrganizationId"
|
||||||
|
[(ngModel)]="cipher.organizationId" (change)="organizationChanged()">
|
||||||
|
<option *ngFor="let o of ownershipOptions" [ngValue]="o.value">{{o.name}}</option>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="box" *ngIf="!editMode && cipher.organizationId">
|
||||||
|
<div class="box-header">
|
||||||
|
{{'collections' | i18n}}
|
||||||
|
</div>
|
||||||
|
<div class="box-content" *ngIf="!collections || !collections.length">
|
||||||
|
{{'noCollectionsInList' | i18n}}
|
||||||
|
</div>
|
||||||
|
<div class="box-content" *ngIf="collections && collections.length">
|
||||||
|
<div class="box-content-row box-content-row-checkbox"
|
||||||
|
*ngFor="let c of collections; let i = index" appBoxRow>
|
||||||
|
<label for="collection_{{i}}">{{c.name}}</label>
|
||||||
|
<input id="collection_{{i}}" type="checkbox" [(ngModel)]="c.checked"
|
||||||
|
name="Collection[{{i}}].Checked">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="footer">
|
<div class="footer">
|
||||||
|
@ -1118,5 +1118,11 @@
|
|||||||
},
|
},
|
||||||
"noCollectionsInList": {
|
"noCollectionsInList": {
|
||||||
"message": "There are no collections to list."
|
"message": "There are no collections to list."
|
||||||
|
},
|
||||||
|
"ownership": {
|
||||||
|
"message": "Ownership"
|
||||||
|
},
|
||||||
|
"whoOwnsThisItem": {
|
||||||
|
"message": "Who owns this item?"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user