summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYaakov M. Nemoy <loupgaroublond@gmail.com>2008-07-16 08:17:09 (GMT)
committerYaakov M. Nemoy <loupgaroublond@gmail.com>2008-07-16 08:17:09 (GMT)
commit6432ba36e846af057513b63f1494d51c0b74fd99 (patch)
tree17f04718e6864c6f87429a8b19b6842f8f8fa35d
parente68da1759c60c9a51648de651cf94ec2f4491624 (diff)
downloadfas-6432ba36e846af057513b63f1494d51c0b74fd99.zip
fas-6432ba36e846af057513b63f1494d51c0b74fd99.tar.gz
fas-6432ba36e846af057513b63f1494d51c0b74fd99.tar.xz
Adds a count of approved members.
Fabian Affolter commented about this on his blog. It doesn't solve his problem fully though.
-rw-r--r--fas/templates/group/view.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/fas/templates/group/view.html b/fas/templates/group/view.html
index 0a8580f..b404f87 100644
--- a/fas/templates/group/view.html
+++ b/fas/templates/group/view.html
@@ -39,6 +39,8 @@
<dt>${_('Owner:')}</dt><dd>${group.owner.username}&nbsp;</dd>
<dt>${_('Type:')}</dt><dd>${group.group_type}&nbsp;</dd>
+ <dt>${_('Approved Members:')}</dt><dd>${len(group.approved_roles)}&nbsp;</dd>
+
<py:if test="group.url">
<dt>${_('URL:')}</dt><dd><a href="${group.url}">${group.url}</a>&nbsp;</dd>
</py:if>