summaryrefslogtreecommitdiff
path: root/src/templates/apps
diff options
context:
space:
mode:
Diffstat (limited to 'src/templates/apps')
-rw-r--r--src/templates/apps/room/list.html1
-rw-r--r--src/templates/apps/room/tag.html21
2 files changed, 22 insertions, 0 deletions
diff --git a/src/templates/apps/room/list.html b/src/templates/apps/room/list.html
index 6c39e12..fb47ca1 100644
--- a/src/templates/apps/room/list.html
+++ b/src/templates/apps/room/list.html
@@ -34,6 +34,7 @@
<ul class="ilist">
<!-- li><div class="button"><a href="{% prefix %}/room/{{r.id}}/modify">Modify Room</a></li -->
<li><div class="button"><a href="{% prefix %}/room/{{r.id}}/delete">Delete Room</a></li>
+ <li><div class="button"><a href="{% prefix %}/room/{{r.id}}/tag">Room Tags</a></li>
</ul>
</div>
</div>
diff --git a/src/templates/apps/room/tag.html b/src/templates/apps/room/tag.html
new file mode 100644
index 0000000..d8c666e
--- /dev/null
+++ b/src/templates/apps/room/tag.html
@@ -0,0 +1,21 @@
+{% extends "edit.html" %}
+{% load prefix %}
+{% load datehumanize %}
+{% load roomurl %}
+{% load prefix %}
+{% block widgets %}
+
+{% endblock %}
+{% block beforeform %}
+ <h1>Tags for {{room.name}}</h1>
+ {% if tags %}
+ <ul class="ilist">
+ {% for tag in tags %}
+ <li class="ui-widget ui-state-highlight ui-corner-all" style="padding: 6px 10px;"><a href="{%prefix%}/+{{tag}}">{{tag}}</a>&nbsp;<a href="{% prefix %}/room/{{room.id}}/untag/{{tag}}"><span style="vertical-align: middle;" class="ui-icon ui-icon-closethick"></span></a></li>
+ {% endfor %}
+ </ul>
+ {% else %}
+ <em>There are no tags yet...</em>
+ {% endif %}
+ <br/>
+{% endblock %} \ No newline at end of file