Skip to content

Commit

Permalink
Merge pull request #2423 from atmire/fix-inherit-policies-at-item-move
Browse files Browse the repository at this point in the history
Fix inherit policies at item move (Angular)
  • Loading branch information
tdonohue authored Oct 25, 2023
2 parents 3058a4b + 1f68fd6 commit 81e3b36
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,11 @@ <h2>{{'item.edit.move.head' | translate: {id: (itemRD$ | async)?.payload?.handle
<div class="col-12">
<p>
<label for="inheritPoliciesCheckbox">
<input type="checkbox" name="tc" [(ngModel)]="inheritPolicies" id="inheritPoliciesCheckbox">
<ng-template #tooltipContent>
{{ 'item.edit.move.inheritpolicies.tooltip' | translate }}
</ng-template>
<input type="checkbox" name="tc" [(ngModel)]="inheritPolicies" id="inheritPoliciesCheckbox" [ngbTooltip]="tooltipContent"
>
{{'item.edit.move.inheritpolicies.checkbox' |translate}}
</label>
</p>
Expand Down
2 changes: 2 additions & 0 deletions src/assets/i18n/en.json5
Original file line number Diff line number Diff line change
Expand Up @@ -2166,6 +2166,8 @@

"item.edit.move.inheritpolicies.description": "Inherit the default policies of the destination collection",

"item.edit.move.inheritpolicies.tooltip": "Warning: When enabled, the read access policy for the item and any files associated with the item will be replaced by the default read access policy of the collection. This cannot be undone.",

"item.edit.move.move": "Move",

"item.edit.move.processing": "Moving...",
Expand Down

0 comments on commit 81e3b36

Please sign in to comment.