summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2010-08-04 16:10:36 +0200
committerLeif Johansson <leifj@sunet.se>2010-08-04 16:10:36 +0200
commit6f648c13654983a663ef8df2710556859fa08149 (patch)
tree893e6b98a41b3ce601fff2f587522d2c0ba82939 /templates
parentd261a355c1c011dce6c03247e00da4872b67d5f5 (diff)
minor layout tweeks
Diffstat (limited to 'templates')
-rw-r--r--templates/apps/name/name.html6
1 files changed, 2 insertions, 4 deletions
diff --git a/templates/apps/name/name.html b/templates/apps/name/name.html
index 9197e8e..3711d17 100644
--- a/templates/apps/name/name.html
+++ b/templates/apps/name/name.html
@@ -43,19 +43,17 @@
</div>
</div>
{% endif %}
+ {% if memberships %}
<h3>Members</h3>
<div id="memberships">
{% for m in memberships.all %}
- {% if not m.name.hidden %}
<div id="m{{m.id}}" class="{{m.status}}">
<h3 class="listheader">{{m.user|lastidentifier}}</h3>
<div>{{m.user|userdisplay}} ({{m.user|lastidentifier}}) became a member of {{name.shortname}} {{m.timecreated|datehumanize}}.</div>
</div>
- {% endif %}
- {% empty %}
- <p>There are no members.</p>
{% endfor %}
</div>
+ {% endif %}
{% if invitations %}
<h3>Pending invitations</h3>
<div id="invitations">