aboutsummaryrefslogtreecommitdiffstats
path: root/templates/room/list.tera
diff options
context:
space:
mode:
Diffstat (limited to 'templates/room/list.tera')
-rw-r--r--templates/room/list.tera6
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/room/list.tera b/templates/room/list.tera
index fddad57..23b2086 100644
--- a/templates/room/list.tera
+++ b/templates/room/list.tera
@@ -8,6 +8,12 @@
{% if rooms | length <= 0%}
No rooms defined.
+{% else %}
+<ul>
+{% for r in rooms -%}
+ <li>{{ r.name }} ({{ r.id }})
+{% endfor -%}
+</ul>
{% endif %}
</body>
</html>