aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2011-06-14 11:27:11 +0000
committerMichael Scherer <misc@mageia.org>2011-06-14 11:27:11 +0000
commit070c5d78518686b62412e4ff3275b778f33f5368 (patch)
tree30ce4cca4bfaf501ca888e4fc6906ffc2674cd86
parentc540ec1df4de3ff553a5614b1d940870018615d8 (diff)
downloadidentity-070c5d78518686b62412e4ff3275b778f33f5368.tar
identity-070c5d78518686b62412e4ff3275b778f33f5368.tar.gz
identity-070c5d78518686b62412e4ff3275b778f33f5368.tar.bz2
identity-070c5d78518686b62412e4ff3275b778f33f5368.tar.xz
identity-070c5d78518686b62412e4ff3275b778f33f5368.zip
do not show the group selection to remove if there is no group to remove
-rw-r--r--root/admin/account_group.tt2
1 files changed, 2 insertions, 0 deletions
diff --git a/root/admin/account_group.tt b/root/admin/account_group.tt
index 3b175b7..c6e428b 100644
--- a/root/admin/account_group.tt
+++ b/root/admin/account_group.tt
@@ -13,6 +13,7 @@
<hr />
+[% IF groups %]
<h2>[% l('Delete user [_1] from an existing group:', uid) %] </h2>
<form method="post" action="">
@@ -27,3 +28,4 @@
</form>
<hr />
+[% END %]