mirror of
https://github.com/bitwarden/browser
synced 2025-12-28 22:23:28 +00:00
Redefine cipher "share" to "move to organization" (#961)
* Redefine cipher "share" to "move to organization" * Update jslib * PR review
This commit is contained in:
@@ -374,9 +374,9 @@
|
||||
{{'cancel' | i18n}}
|
||||
</button>
|
||||
<div class="right">
|
||||
<button appBlurClick type="button" (click)="share()" appA11yTitle="{{'shareItem' | i18n}}"
|
||||
<button appBlurClick type="button" (click)="share()" appA11yTitle="{{'moveToOrganization' | i18n}}"
|
||||
*ngIf="editMode && cipher && !cipher.organizationId && !cloneMode">
|
||||
<i class="fa fa-share-alt fa-lg fa-fw" aria-hidden="true"></i>
|
||||
<i class="fa fa-arrow-circle-o-right fa-lg fa-fw" aria-hidden="true"></i>
|
||||
</button>
|
||||
<button #deleteBtn appBlurClick type="button" (click)="delete()" class="danger"
|
||||
appA11yTitle="{{'delete' | i18n}}" *ngIf="editMode && !cloneMode" [disabled]="deleteBtn.loading"
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
<span class="text">
|
||||
{{c.name}}
|
||||
<ng-container *ngIf="c.organizationId">
|
||||
<i class="fa fa-share-alt text-muted" title="{{'shared' | i18n}}" aria-hidden="true"></i>
|
||||
<i class="fa fa-cube text-muted" title="{{'shared' | i18n}}" aria-hidden="true"></i>
|
||||
<span class="sr-only">{{'shared' | i18n}}</span>
|
||||
</ng-container>
|
||||
<ng-container *ngIf="c.hasAttachments">
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
<div class="modal fade" tabindex="-1" role="dialog" aria-modal="true" aria-labelledby="shareTitle">
|
||||
<div class="modal fade" tabindex="-1" role="dialog" aria-modal="true" aria-labelledby="moveToOrgTitle">
|
||||
<div class="modal-dialog" role="document">
|
||||
<form class="modal-content" #form (ngSubmit)="submit()" [appApiAction]="formPromise">
|
||||
<div class="modal-body">
|
||||
<div class="box">
|
||||
<div class="box-header" id="shareTitle">
|
||||
{{'share' | i18n}}
|
||||
<div class="box-header" id="moveToOrgTitle">
|
||||
{{'moveToOrganization' | i18n}}
|
||||
</div>
|
||||
<div class="box-content" *ngIf="!organizations || !organizations.length">
|
||||
<div class="box-content-row">
|
||||
@@ -21,7 +21,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="box-footer">
|
||||
{{'shareDesc' | i18n}}
|
||||
{{'moveToOrgDesc' | i18n}}
|
||||
</div>
|
||||
</div>
|
||||
<div class="box" *ngIf="organizations && organizations.length">
|
||||
|
||||
Reference in New Issue
Block a user