Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland Tapken <roland@bitarbeiter.net>2018-02-06 18:44:04 +0300
committerDaniel Calviño Sánchez <danxuliu@gmail.com>2018-02-15 20:51:12 +0300
commit38ba64af77f9c58f13b59d3470465fce1a7f1ff2 (patch)
tree90d49d8136f8b4a983c33dd42a75fc5174de6c2d /apps/files/templates
parentc688da7195755273f9b040dc9a16898686e6e68a (diff)
Split move and copy operations
The new 'Move and copy' operation from #6040 requires UPDATE permissions on the selected files. However, READ would be sufficient to create a copy of a file (if not viewed as a public share). For this reason this patch: - changes the permission of the 'MoveCopy' action to PERMISSION_READ - changes the label of the action depending on the permissions - changes the available buttons in the Move/Copy dialog depending on the permissions. The same changes are done to the filelist view for bulk actions. Signed-off-by: Roland Tapken <roland@bitarbeiter.net>
Diffstat (limited to 'apps/files/templates')
-rw-r--r--apps/files/templates/list.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/templates/list.php b/apps/files/templates/list.php
index fd5423c334f..e6b1e54d389 100644
--- a/apps/files/templates/list.php
+++ b/apps/files/templates/list.php
@@ -53,7 +53,7 @@
<span id="selectedActionsList" class="selectedActions">
<a href="" class="copy-move">
<span class="icon icon-external"></span>
- <span><?php p($l->t('Move or copy'))?></span>
+ <span class="label"><?php p($l->t('Move or copy'))?></span>
</a>
<a href="" class="download">
<span class="icon icon-download"></span>