{% extends "base.html" %} {% load prefix %} {% load datehumanize %} {% load roomurl %} {% load tagging_tags %} {% block widgets %} $("#rooms").accordion({ header: 'h3', event: "click", collapsible: true, navigation: true, animated: true, autoHeight: false }); $(".occupation").click(function(e) { $(this).find(".occupation-info").first().load("{% prefix %}/api/room/"+$(this).parents('.room').first().attr('id')+"/occupation") }); $(".occupation").ajaxStart(function() { $(".occupation > span.ui-icon-refresh").removeClass("ui-icon-refresh").removeClass("ui-icon").addClass("spinner").spin("custom"); }).ajaxStop(function() { $(".occupation > span.spinner").spin(false); $(".occupation > span.spinner").addClass("ui-icon-refresh").addClass("ui-icon").removeClass("spinner"); }); {% endblock %} {% block meta %} {% if tags %} {% endif %} {% endblock %} {% block content %}
Nothing comes to mind right now...
{% endif %}