{% extends "base.html" %} {% load prefix %} {% load datehumanize %} {% load roomurl %} {% load tagging_tags %} {% block widgets %} $("#rooms").accordion({ header: 'h3', active: true, 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.nusers%}There are {{r.nusers}} users present, {{r.nhosts}} of whom are hosts.{%else%}The room is currently unoccupied.{%endif%}
  • {% 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 %} {% block validators %} {% if tags %} [Valid Atom 1.0] [Valid RSS] {% endif %} {% endblock %}