diff options
author | Arthur Schiwon <blizzz@owncloud.com> | 2014-02-19 11:46:03 +0100 |
---|---|---|
committer | Arthur Schiwon <blizzz@owncloud.com> | 2014-06-02 12:53:52 +0200 |
commit | 7d3ac194e3a6c407a9ca44117d01d68945042266 (patch) | |
tree | 02d24c22928f11906127fff60a91bc725b806385 | |
parent | 478393e15ad3d6c884368f0b1a922eda6f9ffe0e (diff) | |
download | nextcloud-server-7d3ac194e3a6c407a9ca44117d01d68945042266.tar.gz nextcloud-server-7d3ac194e3a6c407a9ca44117d01d68945042266.zip |
do not show 0 when group has no users
-rw-r--r-- | settings/templates/users.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/templates/users.php b/settings/templates/users.php index 1feaecd8e86..ac87cad9d81 100644 --- a/settings/templates/users.php +++ b/settings/templates/users.php @@ -44,7 +44,7 @@ $_['subadmingroups'] = array_flip($items); <li data-gid="<?php p($group['name']) ?>"> <a href="#"><?php p($group['name']); ?></a> <span class="utils"> - <span class="usercount"><?php p(count($group['useringroup'])); ?></span> + <span class="usercount"><?php if(count($group['useringroup']) > 0) { p(count($group['useringroup'])); } ?></span> <img class="svg action rename" src="<?php p(image_path('core', 'actions/rename.svg'))?>" alt="<?php p($l->t("change group name"))?>" title="<?php p($l->t("change group name"))?>" /> <a href="#" class="action delete" original-title="<?php p($l->t('Delete'))?>"> |