summaryrefslogtreecommitdiff
path: root/src/templates/apps/room
diff options
context:
space:
mode:
Diffstat (limited to 'src/templates/apps/room')
-rw-r--r--src/templates/apps/room/list.html6
-rw-r--r--src/templates/apps/room/recordings.html6
2 files changed, 10 insertions, 2 deletions
diff --git a/src/templates/apps/room/list.html b/src/templates/apps/room/list.html
index c47763d..7d6f55a 100644
--- a/src/templates/apps/room/list.html
+++ b/src/templates/apps/room/list.html
@@ -61,4 +61,10 @@
<li><div class="button"><a href="{% prefix %}/room/create">Create a New Room</a></div></li>
</ul>
{% endif %}
+{% endblock %}
+{% block validators %}
+{% if tags %}
+<a href="http://feed1.w3.org/check.cgi?url={% prefix %}/room/+{{tags}}.atom"><img src="{% prefix %}/site-media/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={% prefix %}/room/+{{tags}}.rss"><img src="{% prefix %}/site-media/img/valid-rss-rogers.png" alt="[Valid RSS]" title="Validate my RSS feed" /></a>
+{% endif %}
{% endblock %} \ No newline at end of file
diff --git a/src/templates/apps/room/recordings.html b/src/templates/apps/room/recordings.html
index f00cf76..76507b3 100644
--- a/src/templates/apps/room/recordings.html
+++ b/src/templates/apps/room/recordings.html
@@ -15,10 +15,8 @@
});
{% endblock %}
{% block meta %}
-{% if tags %}
<link rel="alternate" type="application/rss+xml" title="{{title}} recordings (RSS 2.0)" href="{% prefix %}/room/{{room.id}}/recordings.rss" />
<link rel="alternate" type="application/atom+xml" title="{{title}} recordings (ATOM 1.0)" href="{% prefix %}/room/{{room.id}}/recordings.atom" />
-{% endif %}
{% endblock %}
{% block content %}
<h1>Recordings in '{{room.name}}'</h1>
@@ -50,4 +48,8 @@
<ul class="ilist">
<li class="button"><a href="{%prefix%}/room#{{room.id}}">Back to '{{room.name}}'</a></li>
</ul>
+{% endblock %}
+{% block validators %}
+<a href="http://feed1.w3.org/check.cgi?url={% prefix %}/room/{{room.id}}/recordings.atom"><img src="{% prefix %}/site-media/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={% prefix %}/room/{{room.id}}/recordings.rss"><img src="{% prefix %}/site-media/img/valid-rss-rogers.png" alt="[Valid RSS]" title="Validate my RSS feed" /></a>
{% endblock %} \ No newline at end of file