From e5e29806cf16d3dff7cb74f9e1acd4159570d4c9 Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Mon, 8 Oct 2012 09:55:31 +0200 Subject: toggle open/close for accordions based on location.hash --- templates/apps/room/list.html | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'templates/apps/room/list.html') diff --git a/templates/apps/room/list.html b/templates/apps/room/list.html index 4e83466..52263b7 100644 --- a/templates/apps/room/list.html +++ b/templates/apps/room/list.html @@ -3,7 +3,6 @@ {% load roomurl %} {% load tagging_tags %} {% block widgets %} - $(".collapse").collapse({'parent': '#rooms'}); $(".occupation").click(function(e) { $(this).find(".occupation-info").first().load("/api/room/"+$(this).parents('.accordion-body').attr('id')+"/occupation") }); @@ -28,8 +27,8 @@
{% for r in rooms %}
- -
+ +
{% tags_for_object r as tags %}

{{r|roomurl}}

-- cgit v1.1