From c33af4c971f26fcf3e7eb61a6c3dd8e8af8418a6 Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Wed, 9 Feb 2011 11:06:55 +0100 Subject: restructure --- src/templates/apps/room/list.html | 44 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 src/templates/apps/room/list.html (limited to 'src/templates/apps/room/list.html') diff --git a/src/templates/apps/room/list.html b/src/templates/apps/room/list.html new file mode 100644 index 0000000..199dc89 --- /dev/null +++ b/src/templates/apps/room/list.html @@ -0,0 +1,44 @@ +{% extends "base.html" %} +{% load datehumanize %} +{% load roomurl %} +{% block widgets %} + $("#rooms").accordion({ + header: 'h3', + active: false, + event: "click", + collapsible: true, + navigation: true, + animated: true + }); +{% endblock %} +{% block content %} +

Your Rooms

+ {% if rooms %} +
+ {% for r in rooms %} +
+

{{r.name}}

+
+

Created by {{r.creator}} {{r.timecreated|datehumanize}}.

+

Meeting room URL: {{r|roomurl}}

+ +
+
+ {% endfor %} +
+ {% else %} +

You don't have any rooms listed right now...

+ {% endif %} +
+
+ +
+{% endblock %} \ No newline at end of file -- cgit v1.1