From 3869743100b1db40007666e47167a7ad7bcbbb1b Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Thu, 12 May 2011 09:34:35 +0200 Subject: rss and widget testing --- src/templates/apps/room/rss2.xml | 23 +++++++++++++++++++++++ src/templates/apps/room/widget-test.html | 8 ++++++++ 2 files changed, 31 insertions(+) create mode 100644 src/templates/apps/room/rss2.xml create mode 100644 src/templates/apps/room/widget-test.html (limited to 'src/templates/apps/room') diff --git a/src/templates/apps/room/rss2.xml b/src/templates/apps/room/rss2.xml new file mode 100644 index 0000000..c5b3016 --- /dev/null +++ b/src/templates/apps/room/rss2.xml @@ -0,0 +1,23 @@ + + + + {{title}} + {{description}} + + {{date}} + {% if rooms %} + {% for room in rooms %} + + {{room.name}} + {% if room.description %} + {{room.description}} + {% endif %} + {{room.go_url}} + {{room.go_url_internal}} + + {% endfor %} + {% endif %} + + \ No newline at end of file diff --git a/src/templates/apps/room/widget-test.html b/src/templates/apps/room/widget-test.html new file mode 100644 index 0000000..2d1af29 --- /dev/null +++ b/src/templates/apps/room/widget-test.html @@ -0,0 +1,8 @@ +{% extends "base.html" %} +{% load prefix %} +{% block widgets %} +$("#meetings").meetingtools({tags: 'aka'}); +{% endblock %} +{% block content %} +
+{% endblock %} \ No newline at end of file -- cgit v1.1