blob: 3b8391948a42cb1da5401189e66b6c0e008def2c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
{% extends "base.html" %}
{% load datehumanize %}
{% load roomurl %}
{% load tagging_tags %}
{% block widgets %}
//$(".collapse").collapse({'parent': '#recordings'});
{% endblock %}
{% block meta %}
<link rel="alternate" type="application/rss+xml" title="{{title}} recordings (RSS 2.0)" href="/room/{{room.id}}/recordings.rss" />
<link rel="alternate" type="application/atom+xml" title="{{title}} recordings (ATOM 1.0)" href="/room/{{room.id}}/recordings.atom" />
{% endblock %}
{% block content %}
<div class="page-header">
<h1>Recordings in '{{room.name}}'</h1>
</div>
{% if recordings %}
<div id="recordings" class="accordion">
{% for r in recordings %}
<div class="recording accordion-group">
<div class="accordion-heading"><a class="accordion-toggle" data-toggle="collapse" data-target="#{{r.sco_id}}" data-parent="#recordings" href="#{{r.sco_id}}">{{r.name}}</a></div>
<div id="{{r.sco_id}}" class="accordion-body collapse">
<div class="accordion-inner">
<p><a target="_connect" href="{{r.url}}">{{r.url}}</a></p>
<div class="well">{% if r.description %}{{r.description|safe}}{% else %}<em>No description available...</em>{% endif %}</div>
<ul class="unstyled">
<li>» Created {{r.date_created|datehumanize}}.</li>
<li>» Modified {{r.date_modified|datehumanize}}.</li>
<li>» Hosted on {{room.acc.name}}</li>
</ul>
<div class="btn-group">
<a class="btn btn-info" target="_connect" href="{{r.url}}">Play Recording</a>
<a class="btn btn-info" href="{{r.dl}}">Download Recording</a>
</div>
</div>
</div>
</div>
{% endfor %}
</div>
{% else %}
<p>No recordings right now...</p>
{% endif %}
<br/>
<a class="btn" href="/room#{{room.id}}">Back to '{{room.name}}'</a>
{% endblock %}
{% block validators %}
<a href="http://feed1.w3.org/check.cgi?url=/room/{{room.id}}/recordings.atom"><img src="{{STATIC_URL}}/img/valid-atom.png" alt="[Valid Atom 1.0]" title="Validate my Atom 1.0 feed" /></a>
<a href="http://feed1.w3.org/check.cgi?url=/room/{{room.id}}/recordings.rss"><img src="{{STATIC_URL}}/img/valid-rss-rogers.png" alt="[Valid RSS]" title="Validate my RSS feed" /></a>
{% endblock %}
|