From e82a4d5b9c17fbc5ee63d14a1c87ef12718fa343 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Mon, 7 Mar 2011 21:23:42 -0600 Subject: Todo list styling and info cleanups Signed-off-by: Dan McGee --- templates/todolists/list.html | 2 +- templates/todolists/public_list.html | 11 ++++++----- templates/todolists/view.html | 4 +++- 3 files changed, 10 insertions(+), 7 deletions(-) (limited to 'templates') diff --git a/templates/todolists/list.html b/templates/todolists/list.html index 2e75bda..78acabf 100644 --- a/templates/todolists/list.html +++ b/templates/todolists/list.html @@ -32,7 +32,7 @@ title="View todo list: {{ list.name }}">{{ list.name }} {{ list.date_added }} {{ list.creator.get_full_name }} - {{ list.description|safe }} + {{ list.description|urlize }} {{ list.pkg_count }} {{ list.incomplete_count }} {% ifequal list.incomplete_count 0 %}Complete diff --git a/templates/todolists/public_list.html b/templates/todolists/public_list.html index d84a548..0d14250 100644 --- a/templates/todolists/public_list.html +++ b/templates/todolists/public_list.html @@ -22,13 +22,14 @@ {% if todo_lists %} -
+
{% for list in todo_lists %}
- -

{{ list.name }}

-
-
{{ list.description|safe|linebreaks }}
+
+ +

{{ list.name }}

+

{{ list.date_added|date }} - {{ list.creator.get_full_name }}

+
{{ list.description|urlize|linebreaks }}
diff --git a/templates/todolists/view.html b/templates/todolists/view.html index 36ecb9b..9a6e3c0 100644 --- a/templates/todolists/view.html +++ b/templates/todolists/view.html @@ -17,7 +17,9 @@ {% endif %} -

{{list.description|safe|linebreaks}}

+

{{ list.date_added|date }} - {{ list.creator.get_full_name }}

+ +
{{list.description|urlize|linebreaks}}
-- cgit v1.2.3-24-g4f1b