summaryrefslogtreecommitdiffstats
path: root/settings/templates
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2016-05-24 12:13:57 +0200
committerVincent Petry <pvince81@owncloud.com>2016-05-24 12:13:57 +0200
commitfdddc11f635d903e58d528d26f68203695766b53 (patch)
treece468962e9e2ea1ff1eb385c7f180293680c03f4 /settings/templates
parentc60ef7deb88c44ebedf62f8387577642d4a486a1 (diff)
parent37ef9dfd65e0aeee2ea4e669348589165dee10a6 (diff)
downloadnextcloud-server-fdddc11f635d903e58d528d26f68203695766b53.tar.gz
nextcloud-server-fdddc11f635d903e58d528d26f68203695766b53.zip
Merge pull request #22929 from owncloud/bugfix-removequota-subadmins
Bugfix removequota subadmins
Diffstat (limited to 'settings/templates')
-rw-r--r--settings/templates/users/part.setquota.php11
1 files changed, 6 insertions, 5 deletions
diff --git a/settings/templates/users/part.setquota.php b/settings/templates/users/part.setquota.php
index b58df49998a..18ec3fa8cd7 100644
--- a/settings/templates/users/part.setquota.php
+++ b/settings/templates/users/part.setquota.php
@@ -25,10 +25,11 @@
</select>
<?php endif; ?>
<?php if((bool) !$_['isAdmin']): ?>
- <select class='quota' disabled="disabled">
- <option selected="selected">
- <?php p($_['default_quota']);?>
- </option>
- </select>
+ :
+ <?php if( $_['default_quota'] === 'none'): ?>
+ <?php p($l->t('Unlimited'));?>
+ <?php else: ?>
+ <?php p($_['default_quota']);?>
+ <?php endif; ?>
<?php endif; ?>
</div>