summaryrefslogtreecommitdiffstats
path: root/settings/templates
diff options
context:
space:
mode:
authorRobin Appelman <icewind1991@gmail.com>2011-08-15 21:06:29 +0200
committerRobin Appelman <icewind1991@gmail.com>2011-08-15 21:09:13 +0200
commit523b0966d22d0fc149ca64afb32995a0eb29a6d3 (patch)
tree80525dab3705396fe527ec5b5da2e4fe817b2016 /settings/templates
parent6173c0fbc262f0d02c45d9cf4e81b020ad839145 (diff)
downloadnextcloud-server-523b0966d22d0fc149ca64afb32995a0eb29a6d3.tar.gz
nextcloud-server-523b0966d22d0fc149ca64afb32995a0eb29a6d3.zip
add option to set user quota
Diffstat (limited to 'settings/templates')
-rw-r--r--settings/templates/users.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/settings/templates/users.php b/settings/templates/users.php
index 01e2adf4e97..9733c3e9a50 100644
--- a/settings/templates/users.php
+++ b/settings/templates/users.php
@@ -31,6 +31,10 @@ foreach($_["groups"] as $group) {
<?php endforeach;?>
</select>
</td>
+ <td class="quota" data-quota="<?php echo $user['quota']?>">
+ <span><?php echo ($user['quota']>0)?$user['quota']:'None';?></span>
+ <img class="svg action" src="<?php echo image_path('core','actions/rename.svg')?>" alt="set new password" title="set quota" />
+ </td>
<td class="remove">
<?php if($user['name']!=OC_User::getUser()):?>
<img alt="Delete" title="<?php echo $l->t('Delete')?>" class="svg action" src="<?php echo image_path('core','actions/delete.svg') ?>" />