aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2013-10-20 23:14:10 +0300
committerJan-Christoph Borchardt <hey@jancborchardt.net>2013-10-20 23:15:58 +0300
commitdbcfb1b8303866376053d2947beaf9973d4f109d (patch)
treee5f849a4cb5c7f40ae8d3faf80af3357f9e2756f
parent84d4d797d138da42c938e101521d08f94479cab6 (diff)
downloadnextcloud-server-dbcfb1b8303866376053d2947beaf9973d4f109d.tar.gz
nextcloud-server-dbcfb1b8303866376053d2947beaf9973d4f109d.zip
beautify 'you dont have write permissions' notice, fix #2770
-rw-r--r--apps/files/templates/index.php2
-rw-r--r--core/css/share.css5
2 files changed, 6 insertions, 1 deletions
diff --git a/apps/files/templates/index.php b/apps/files/templates/index.php
index 32a59f1e1a6..fd2b58e0e7a 100644
--- a/apps/files/templates/index.php
+++ b/apps/files/templates/index.php
@@ -37,7 +37,7 @@
</div>
<div id="file_action_panel"></div>
<div class="notCreatable notPublic <?php if ($_['isCreatable'] or $_['isPublic'] ):?>hidden<?php endif; ?>">
- <div class="actions"><input type="button" disabled value="<?php p($l->t('You don’t have write permissions here.'))?>"></div>
+ <?php p($l->t('You don’t have write permissions here'))?>
</div>
<input type="hidden" name="permissions" value="<?php p($_['permissions']); ?>" id="permissions">
</div>
diff --git a/core/css/share.css b/core/css/share.css
index 6e920f6bdec..e1edc311eed 100644
--- a/core/css/share.css
+++ b/core/css/share.css
@@ -102,3 +102,8 @@ a.showCruds:hover,a.unshare:hover {
overflow-y:auto;
overflow-x:hidden;
}
+
+.notCreatable {
+ padding-top: 12px;
+ color: #999;
+}