From 8f6f63c87128906be86fdfdf53aba48570677e87 Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Tue, 16 Oct 2012 17:57:45 +0200 Subject: - normalize sco objects to separate table - add archive object for "published" archives - configurable return from form edits - tagging for archives - reset south --- templates/apps/room/recordings.html | 25 ++++++++++++++++++------- 1 file changed, 18 insertions(+), 7 deletions(-) (limited to 'templates/apps/room') diff --git a/templates/apps/room/recordings.html b/templates/apps/room/recordings.html index 3b83919..0ee4ebd 100644 --- a/templates/apps/room/recordings.html +++ b/templates/apps/room/recordings.html @@ -17,19 +17,30 @@
{% for r in recordings %}
- -
+ +
+

{{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}}
  • -
+
  • » Hosted on {{room.sco.acc.name}}
  • + {% if r.published %} + {% tags_for_object r.ar as tags %} + {% if tags %}
  • » {% for tag in tags %}{{tag}}{% endfor %}{%if edit %} manage archive tags{%endif%}
  • {% endif %} + {% endif %} + +
    - Play Recording - Download Recording + Play + Download + {% if not r.published %} + Publish + {% else %} + Manage Tags + {% endif %}
    @@ -40,7 +51,7 @@

    No recordings right now...

    {% endif %}
    - Back to '{{room.name}}' + Back to '{{room.name}}' {% endblock %} {% block validators %} [Valid Atom 1.0] -- cgit v1.1