blob: 0ee4ebdc6f2c528130d206db4c12d00b6cb78784 (
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
49
50
51
52
53
54
55
56
57
58
59
|
{% 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.sco_id}}" data-parent="#recordings" href="#{{r.sco_id}}">{{r.name}}</a></div>
<div id="{{r.sco.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.sco.acc.name}}</li>
{% if r.published %}
{% tags_for_object r.ar as tags %}
{% if tags %}<li>» {% for tag in tags %}<a class="badge" href="/archive/+{{tag}}">{{tag}}</a>{% endfor %}{%if edit %} <a class="btn btn-mini btn-info" href="/archive/{{r.id}}/tag">manage archive tags</a>{%endif%}</li>{% endif %}
{% endif %}
</ul>
<div class="btn-group">
<a class="btn" target="_connect" href="{{r.url}}"><i class="icon-play"> </i> Play</a>
<a class="btn" href="{{r.dl}}"><i class="icon-download"> </i> Download</a>
{% if not r.published %}
<a class="btn btn-success" href="/room/{{room.id}}/publish/{{r.sco.sco_id}}"><i class="icon-upload"> </i> Publish</a>
{% else %}
<a class="btn" href="/archive/{{r.ar.id}}/tag">Manage Tags</a>
{% endif %}
</div>
</div>
</div>
</div>
{% endfor %}
</div>
{% else %}
<p>No recordings right now...</p>
{% endif %}
<br/>
<a class="btn" href="/room#{{room.id}}"><i class="icon-step-backward"> </i> 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 %}
|