{% extends "base.html" %} {% load prefix %} {% load datehumanize %} {% load roomurl %} {% load tagging_tags %} {% block widgets %} $("#rooms").accordion({ header: 'h3', active: false, event: "click", collapsible: true, navigation: true, animated: true, autoHeight: false }); {% endblock %} {% block meta %} {% if tags %} {% endif %} {% endblock %} {% block content %}

{{title}}

{% if rooms %}
{% for r in rooms %}

{{r.name}}

{% tags_for_object r as tags %}

{{r|roomurl}}

{% if r.description %}{{r.description|safe}}{% else %}No description available...{% endif %}

  • Tags: {% for tag in tags %}{{tag}}{% endfor %} {%if edit %}... manage room tags{%endif%}
  • Created by {{r.creator}} {{r.timecreated|datehumanize}}.
  • {% if r.self_cleaning %}
  • Room will be reset when empty.
  • {%else%}
  • Room state is preserved between sessions.
  • {% endif %} {% if r.lastvisited %}
  • Last visited {{r.lastvisited|datehumanize}}
  • {%endif%}
  • Hosted on {{r.acc.name}}

{% endfor %}
{% else %}

Nothing comes to mind right now...

{% endif %}
{% if edit %} {% endif %} {% endblock %}