From f2170da73142c4f4698177c1b7866fb18477bff9 Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Tue, 10 May 2011 23:23:20 +0200 Subject: style polish --- src/templates/apps/room/list.html | 26 +++++++++++++++++++++----- src/templates/apps/room/tag.html | 13 ++++++++++++- 2 files changed, 33 insertions(+), 6 deletions(-) (limited to 'src/templates/apps') diff --git a/src/templates/apps/room/list.html b/src/templates/apps/room/list.html index fb47ca1..6423296 100644 --- a/src/templates/apps/room/list.html +++ b/src/templates/apps/room/list.html @@ -3,6 +3,7 @@ {% load datehumanize %} {% load roomurl %} {% load prefix %} +{% load tagging_tags %} {% block widgets %} $("#rooms").accordion({ header: 'h3', @@ -22,11 +23,26 @@

{{r.name}}

-
    -
  • Created by {{r.creator}} {{r.timecreated|datehumanize}}.
  • - {% if r.lastvisited %}
  • Last visited {{r.lastvisited|datehumanize}}{% if r.user_count %}when there was {{r.user_count}} user{{r.user_count|pluralize}} in the room{%endif%}.
  • {%endif%} -
  • Meeting room URL: {{r|roomurl}}
  • -
+
    +
  • +
      + {% if r.self_cleaning %}
    • Room will be reset when empty.
    • {% endif %} +
    • Created by {{r.creator}} {{r.timecreated|datehumanize}}.
    • + {% if r.lastvisited %}
    • Last visited {{r.lastvisited|datehumanize}} when there was {{r.nusers}} user{{r.nusers|pluralize}} in the room.
    • {%endif%} +
    • Meeting room URL: {{r|roomurl}}
    • +
    +
  • + {% tags_for_object r as tags %} +
  • + +
  • +
+
{% if r.description %}

{{r.description|safe}}

diff --git a/src/templates/apps/room/tag.html b/src/templates/apps/room/tag.html index d8c666e..6bf01a0 100644 --- a/src/templates/apps/room/tag.html +++ b/src/templates/apps/room/tag.html @@ -6,8 +6,19 @@ {% block widgets %} {% endblock %} +{% block beforefields %} +
+
+

+ Note WellTags are a way to group related rooms together. Tagging your + room makes your room show up in public lists of rooms hosted on this service and it + therefore makes your room more visible.

+
+
+
+{% endblock %} {% block beforeform %} -

Tags for {{room.name}}

+

Current tags for {{room.name}}

{% if tags %}
    {% for tag in tags %} -- cgit v1.1