beautify 'you dont have write permissions' notice, fix #2770

This commit is contained in:
Jan-Christoph Borchardt 2013-10-20 23:14:10 +03:00
parent 84d4d797d1
commit dbcfb1b830
2 changed files with 6 additions and 1 deletions

View file

@ -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 dont have write permissions here.'))?>"></div>
<?php p($l->t('You dont have write permissions here'))?>
</div>
<input type="hidden" name="permissions" value="<?php p($_['permissions']); ?>" id="permissions">
</div>

View file

@ -102,3 +102,8 @@ a.showCruds:hover,a.unshare:hover {
overflow-y:auto;
overflow-x:hidden;
}
.notCreatable {
padding-top: 12px;
color: #999;
}