filemanager: make chown support multiple files

This commit is contained in:
Johannes Zellner
2021-01-30 18:20:06 +01:00
parent 778317aa8a
commit 1f3eeb4f43
2 changed files with 14 additions and 10 deletions

View File

@@ -183,7 +183,8 @@
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title">{{ 'filemanager.chownDialog.title' | tr:{ fileName: chownEntry.entry.fileName } }}</h4>
<!-- TODO remove fileName later once all translations have been updated -->
<h4 class="modal-title">{{ 'filemanager.chownDialog.title' | tr:{ fileName: selected[0].fileName } }}</h4>
</div>
<div class="modal-body">
<form role="form" name="chownEntryForm" ng-submit="chownEntry.submit()" autocomplete="off">
@@ -192,7 +193,7 @@
<div class="control-label" for="inputNewOwner" ng-show="chownEntry.error">{{ chownEntry.error }}</div>
<select class="form-control" id="inputNewOwner" name="newOwner" ng-model="chownEntry.newOwner" ng-options="a.value as a.name for a in owners" ng-disabled="chownEntry.busy"></select>
</div>
<div class="form-group" ng-show="chownEntry.entry.isDirectory">
<div class="form-group" ng-show="chownEntry.showRecursiveOption">
<input type="checkbox" id="inputNewOwnerRecursive" ng-model="chownEntry.recursive">
<label class="control-label" for="inputNewOwnerRecursive">{{ 'filemanager.chownDialog.recursiveCheckbox' | tr }}</label>
</div>