From fa14e453d51e3106734323a21d6ee68f30dd99e3 Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Fri, 13 May 2011 23:32:05 +0200 Subject: add recordings and some minor cleanup --- src/templates/apps/room/recordings.html | 53 +++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 src/templates/apps/room/recordings.html (limited to 'src/templates/apps') diff --git a/src/templates/apps/room/recordings.html b/src/templates/apps/room/recordings.html new file mode 100644 index 0000000..f00cf76 --- /dev/null +++ b/src/templates/apps/room/recordings.html @@ -0,0 +1,53 @@ +{% extends "base.html" %} +{% load prefix %} +{% load datehumanize %} +{% load roomurl %} +{% load tagging_tags %} +{% block widgets %} + $("#recordings").accordion({ + header: 'h3', + active: false, + event: "click", + collapsible: true, + navigation: true, + animated: true, + autoHeight: false + }); +{% endblock %} +{% block meta %} +{% if tags %} + + +{% endif %} +{% endblock %} +{% block content %} +

Recordings in '{{room.name}}'

+ {% if recordings %} +
+ {% for r in recordings %} +
+

{{r.name}}

+
+

{{r.url}}

+

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

+
    +
  • » Created {{r.date_created|datehumanize}}.
  • +
  • » Modified {{r.date_modified|datehumanize}}.
  • +
  • » Hosted on {{room.acc.name}}
  • +
+
+ +
+
+ {% endfor %} +
+ {% else %} +

No recordings right now...

+ {% endif %} +
+ +{% endblock %} \ No newline at end of file -- cgit v1.1