diff options
author | Leif Johansson <leifj@sunet.se> | 2011-05-14 00:58:10 +0200 |
---|---|---|
committer | Leif Johansson <leifj@sunet.se> | 2011-05-14 00:58:10 +0200 |
commit | 61d267719d34d5bc5edb47c7ade9a0f077d16bf0 (patch) | |
tree | 6a5cc4593c60937f6eb297a2a1caf2fee2416ae9 /src/templates/apps/room | |
parent | 68c5618c30b12e8c5cb6c2d96c4381eb00c95299 (diff) |
link to validators
Diffstat (limited to 'src/templates/apps/room')
-rw-r--r-- | src/templates/apps/room/list.html | 6 | ||||
-rw-r--r-- | src/templates/apps/room/recordings.html | 6 |
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 |