summaryrefslogtreecommitdiffstats
path: root/settings/templates
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2013-10-30 20:45:47 +0100
committerVincent Petry <pvince81@owncloud.com>2013-10-30 20:46:53 +0100
commit9d230bcc75185e855d28656ab898ff05c15bebc8 (patch)
tree979d5ad4071aa1a3d493941839e7370e366d8831 /settings/templates
parentca4a1ee5f7e223b521e41784b0d9b7ed2af162af (diff)
downloadnextcloud-server-9d230bcc75185e855d28656ab898ff05c15bebc8.tar.gz
nextcloud-server-9d230bcc75185e855d28656ab898ff05c15bebc8.zip
Improve quota input field
- Added tooltip with examples - The quota value returned by the server is now displayed after update - Fixes #5346
Diffstat (limited to 'settings/templates')
-rw-r--r--settings/templates/users.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/settings/templates/users.php b/settings/templates/users.php
index b556ef4b92e..3c7bfd9f031 100644
--- a/settings/templates/users.php
+++ b/settings/templates/users.php
@@ -41,7 +41,7 @@ $_['subadmingroups'] = array_flip($items);
<div class="quota">
<span><?php p($l->t('Default Storage'));?></span>
<?php if((bool) $_['isadmin']): ?>
- <select class='quota'>
+ <select class='quota' data-inputtitle="<?php p($l->t('Please enter storage quota (ex: "512 MB" or "12 GB"')) ?>">
<option
<?php if($_['default_quota'] === 'none') print_unescaped('selected="selected"');?>
value='none'>
@@ -136,7 +136,7 @@ $_['subadmingroups'] = array_flip($items);
</td>
<?php endif;?>
<td class="quota">
- <select class='quota-user'>
+ <select class='quota-user' data-inputtitle="<?php p($l->t('Please enter storage quota (ex: "512 MB" or "12 GB"')) ?>">
<option
<?php if($user['quota'] === 'default') print_unescaped('selected="selected"');?>
value='default'>