mirror of
https://github.com/bitwarden/browser
synced 2025-12-18 01:03:35 +00:00
* add back disc bullet for assignment collections * add singular and plural versions of bulk collection assignment description
50 lines
1.4 KiB
HTML
50 lines
1.4 KiB
HTML
<form [formGroup]="formGroup" [bitSubmit]="submit" id="assign_collections_form">
|
|
<p>
|
|
{{
|
|
(personalItemsCount === 1
|
|
? "bulkCollectionAssignmentDialogDescriptionSingular"
|
|
: "bulkCollectionAssignmentDialogDescriptionPlural"
|
|
) | i18n
|
|
}}
|
|
</p>
|
|
|
|
<ul class="tw-list-disc tw-pl-5 tw-space-y-2 tw-break-words">
|
|
<li *ngIf="readonlyItemCount > 0">
|
|
<p>
|
|
{{ "bulkCollectionAssignmentWarning" | i18n: totalItemCount : readonlyItemCount }}
|
|
</p>
|
|
</li>
|
|
<li *ngIf="personalItemsCount > 0">
|
|
<p>
|
|
{{ transferWarningText(orgName, personalItemsCount) }}
|
|
</p>
|
|
</li>
|
|
</ul>
|
|
|
|
<div class="tw-flex" *ngIf="showOrgSelector">
|
|
<bit-form-field class="tw-grow tw-max-w-full">
|
|
<bit-label>{{ "moveToOrganization" | i18n }}</bit-label>
|
|
<bit-select formControlName="selectedOrg">
|
|
<bit-option
|
|
*ngFor="let org of organizations$ | async"
|
|
icon="bwi-business"
|
|
[value]="org.id"
|
|
[label]="org.name"
|
|
>
|
|
</bit-option>
|
|
</bit-select>
|
|
</bit-form-field>
|
|
</div>
|
|
|
|
<div class="tw-flex">
|
|
<bit-form-field class="tw-grow tw-max-w-full">
|
|
<bit-label>{{ "selectCollectionsToAssign" | i18n }}</bit-label>
|
|
<bit-multi-select
|
|
class="tw-w-full"
|
|
formControlName="collections"
|
|
[baseItems]="availableCollections"
|
|
></bit-multi-select>
|
|
</bit-form-field>
|
|
</div>
|
|
</form>
|