diff options
author | Leif Johansson <leifj@sunet.se> | 2011-08-03 15:23:28 +0200 |
---|---|---|
committer | Leif Johansson <leifj@sunet.se> | 2011-08-03 15:23:28 +0200 |
commit | 5d9177ccbb663869a3ccca47ed713dd2c1f4e7ae (patch) | |
tree | ed3b1d30ca7565d7de058f86aa745f890194aad2 | |
parent | a258be6002b5f720a2e732ab94df5e0c36c2110f (diff) |
list user and host count in mail room display
-rw-r--r-- | src/templates/apps/room/list.html | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/templates/apps/room/list.html b/src/templates/apps/room/list.html index cc10f9d..aeb7578 100644 --- a/src/templates/apps/room/list.html +++ b/src/templates/apps/room/list.html @@ -35,6 +35,7 @@ <ul class="nlist square" style="padding-left: 2px;"> <li>» Tags: {% for tag in tags %}<a style="margin-right: 5px;" class="ui-widget" href="{% prefix %}/room/+{{tag}}">{{tag}}</a>{% endfor %} {%if edit %}<a style="font-size: 75%;" href="{% prefix %}/room/{{r.id}}/tag"><em>... manage room tags</em></a>{%endif%}</li> <li>» Created by {{r.creator}} {{r.timecreated|datehumanize}}.</li> + <li>» {%if r.nusers%}There are {{r.nusers}} users present, {{r.nhosts}} of whom are hosts.{%else%}The room is currently unoccupied.{%endif%}</li> {% if r.self_cleaning %}<li>» Room will be reset when empty.</li>{%else%}<li>» Room state is preserved between sessions.</li>{% endif %} {% if r.lastvisited %}<li>» Last visited {{r.lastvisited|datehumanize}}</li>{%endif%} <li>» Hosted on {{r.acc.name}}</li> |