{% extends "base.html" %} {% load prefix %} {% load datehumanize %} {% load roomurl %} {% load tagging_tags %} {% block widgets %} $(".collapse").collapse({'parent': '#rooms'}); $(".occupation").click(function(e) { $(this).find(".occupation-info").first().load("{% prefix %}/api/room/"+$(this).parents('.accordion-body').attr('id')+"/occupation") }); $(".occupation").ajaxStart(function() { $(".occupation i.icon-refresh").removeClass("icon-refresh").addClass("spinner").spin("custom"); }).ajaxStop(function() { $(".occupation i.spinner").spin(false); $(".occupation i.spinner").addClass("icon-refresh").removeClass("spinner"); }); {% endblock %} {% block meta %} {% if tags %} {% endif %} {% endblock %} {% block content %} {% if rooms %}
{% for r in rooms %}
{% 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%} refresh
  • {% if r.self_cleaning %}
  • » Room will be reset when empty.
  • {%else%}
  • » Room state is preserved between sessions.
  • {% endif %} {% if r.allow_host %}
  • » First participant can elect to become host.
  • {% endif %} {% if r.lastvisited %}
  • » Last visited {{r.lastvisited|datehumanize}}
  • {%endif%}
  • » Hosted on {{r.acc.name}} room usage plot

Enter Room {% if edit %} Room Tags Room Recordings Modify Room {% if room.is_locked %} Unlock Room {% endif %} Delete Room {% endif %}
{% endfor %}
{% else %}

Nothing comes to mind right now...

{% endif %}
{% if edit %}
Create a New Room
{% endif %} {% endblock %} {% block validators %} {% if tags %} [Valid Atom 1.0] [Valid RSS] {% endif %} {% endblock %}