summaryrefslogtreecommitdiff
path: root/src/templates
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2011-10-13 16:00:19 +0200
committerLeif Johansson <leifj@sunet.se>2011-10-13 16:00:19 +0200
commita046c6014f42d32dad447cb68cf60f8921ff0fa8 (patch)
treed8ad13a95bf54b2ddfa9d0dafa77c1de72074ac8 /src/templates
parent95e8875f5aeb5291a4bbd1b26c5a0522c491b0dd (diff)
room unlock function for emergencies
Diffstat (limited to 'src/templates')
-rw-r--r--src/templates/apps/room/list.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/templates/apps/room/list.html b/src/templates/apps/room/list.html
index 0f1710c..f0906fc 100644
--- a/src/templates/apps/room/list.html
+++ b/src/templates/apps/room/list.html
@@ -48,8 +48,11 @@
<li class="button"><a href="{% prefix %}/room/{{r.id}}/tag">Room Tags</a></li>
<li class="button"><a href="{% prefix %}/room/{{r.id}}/recordings">Room Recordings</a></li>
<li class="button"><a href="{% prefix %}/room/{{r.id}}/modify">Modify Room</a></li>
+ <li class="button"><a href="{% prefix %}/room/{{r.id}}/unlock">Unlock Room</a></li>
+ {% if room.is_locked %}
<li class="button"><a href="{% prefix %}/room/{{r.id}}/delete">Delete Room</a></li>
{% endif %}
+ {% endif %}
</ul>
</div>
</div>