summaryrefslogtreecommitdiff
path: root/templates/apps/room/tag.html
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2012-10-04 15:39:08 +0200
committerLeif Johansson <leifj@sunet.se>2012-10-04 15:39:08 +0200
commit2bdad0ae7a3a6e4ec5116becd39910388b679ed2 (patch)
tree5afdfba0a93c1af50d53bdc245d57cc4053e109a /templates/apps/room/tag.html
parent873e7823970352d591deee5f67f47c5436ee0e84 (diff)
restructure
Diffstat (limited to 'templates/apps/room/tag.html')
-rw-r--r--templates/apps/room/tag.html32
1 files changed, 32 insertions, 0 deletions
diff --git a/templates/apps/room/tag.html b/templates/apps/room/tag.html
new file mode 100644
index 0000000..087862f
--- /dev/null
+++ b/templates/apps/room/tag.html
@@ -0,0 +1,32 @@
+{% extends "edit.html" %}
+{% load datehumanize %}
+{% load roomurl %}
+{% block widgets %}
+
+{% endblock %}
+{% block formstyle %}
+class="form-inline"
+{% endblock %}
+{% block justbeforeform %}
+<div>
+ <div class="alert">
+ <i class="icon-info-sign"> </i>
+ <strong>Note Well</strong> Tags are a way to group related rooms together. Tagging your
+ room makes your room show up in public lists of rooms hosted on this service and it
+ therefore makes your room visible. This does <em>not</em> mean that anyone can access
+ your room.
+ </div>
+ {% if tags %}
+ <div>
+ {% for tag in tags %}
+ <span class="btn-group">
+ <a class="btn btn-small" href="/room/+{{tag}}">{{tag}}</a>&nbsp;
+ <a class="btn btn-small btn-warning" href="/room/{{room.id}}/untag/{{tag}}"><i class="icon-remove"></i></a>
+ </span>
+ {% endfor %}
+ </div>
+ {% else %}
+ <div class="alert">There are no tags yet...</div>
+</div>
+ {% endif %}
+{% endblock %}