summaryrefslogtreecommitdiffstats
path: root/settings/templates
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2014-07-05 01:21:18 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2014-07-09 14:30:39 +0200
commita584022ecc7f186386a748122a84e21615e29399 (patch)
tree5f023ec65a41f9f0c0d2d5e4731a6934a64ac820 /settings/templates
parent404ac8bcd32aca8f9b004621ac737800cd86dfd1 (diff)
downloadnextcloud-server-a584022ecc7f186386a748122a84e21615e29399.tar.gz
nextcloud-server-a584022ecc7f186386a748122a84e21615e29399.zip
increment group counters when a user is created
Diffstat (limited to 'settings/templates')
-rw-r--r--settings/templates/users/part.grouplist.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/templates/users/part.grouplist.php b/settings/templates/users/part.grouplist.php
index 28f2236b1d7..588c2e6202c 100644
--- a/settings/templates/users/part.grouplist.php
+++ b/settings/templates/users/part.grouplist.php
@@ -27,7 +27,7 @@
<!-- The Admin Group -->
<?php foreach($_["adminGroup"] as $adminGroup): ?>
- <li data-gid="admin" class="isgroup">
+ <li data-gid="admin" data-usercount="<?php if($adminGroup['usercount'] > 0) { p($adminGroup['usercount']); } ?>" class="isgroup">
<a href="#"><span class="groupname"><?php p($l->t('Admins')); ?></span></a>
<span class="utils">
<span class="usercount"><?php if($adminGroup['usercount'] > 0) { p($adminGroup['usercount']); } ?></span>