summaryrefslogtreecommitdiffstats
path: root/apps/files/templates/index.php
diff options
context:
space:
mode:
authorThomas Mueller <thomas.mueller@tmit.eu>2013-03-01 21:43:34 +0100
committerThomas Mueller <thomas.mueller@tmit.eu>2013-03-01 21:43:34 +0100
commite3e4c28316673a0cc989fcc8c60bf15f4159c0ae (patch)
treef2f6ff46e7e6dd084818a57fe7c8d4b3425b3c8b /apps/files/templates/index.php
parent2e2cf28d30b0f1afbfe000aaeea5c2ced365a183 (diff)
downloadnextcloud-server-e3e4c28316673a0cc989fcc8c60bf15f4159c0ae.tar.gz
nextcloud-server-e3e4c28316673a0cc989fcc8c60bf15f4159c0ae.zip
fixes #2001 - in case the user has no permissions to upload/create files/folders a clear warning is displayed
Diffstat (limited to 'apps/files/templates/index.php')
-rw-r--r--apps/files/templates/index.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/files/templates/index.php b/apps/files/templates/index.php
index c7bf0d21c13..5053dff95e5 100644
--- a/apps/files/templates/index.php
+++ b/apps/files/templates/index.php
@@ -49,7 +49,8 @@
</div>
</div>
<div id="file_action_panel"></div>
- <?php else:?>
+ <?php else: ?>
+ <div class="crumb last"><?php p($l->t('You don’t have write permissions here.'))?></div>
<input type="hidden" name="dir" value="<?php echo $_['dir'] ?>" id="dir">
<?php endif;?>
<input type="hidden" name="permissions" value="<?php echo $_['permissions']; ?>" id="permissions">