summaryrefslogtreecommitdiffstats
path: root/templates/todolists
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-03-08 04:23:42 +0100
committerDan McGee <dan@archlinux.org>2011-03-08 04:23:42 +0100
commite82a4d5b9c17fbc5ee63d14a1c87ef12718fa343 (patch)
tree557bae2bf96ac4d885d30e1d00382d420410d879 /templates/todolists
parent0c6ee81eb469734dae380f428149f316fdbf75bd (diff)
downloadarchweb-e82a4d5b9c17fbc5ee63d14a1c87ef12718fa343.tar.gz
archweb-e82a4d5b9c17fbc5ee63d14a1c87ef12718fa343.tar.xz
Todo list styling and info cleanups
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/todolists')
-rw-r--r--templates/todolists/list.html2
-rw-r--r--templates/todolists/public_list.html11
-rw-r--r--templates/todolists/view.html4
3 files changed, 10 insertions, 7 deletions
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 }}</a></td>
<td>{{ list.date_added }}</td>
<td>{{ list.creator.get_full_name }}</td>
- <td class="wrap">{{ list.description|safe }}</td>
+ <td class="wrap">{{ list.description|urlize }}</td>
<td>{{ list.pkg_count }}</td>
<td>{{ list.incomplete_count }}</td>
<td>{% ifequal list.incomplete_count 0 %}<span class="complete">Complete</span>
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 @@
</div>
</div>
{% if todo_lists %}
-<div id="public_todo_lists">
+<div id="public-todo-lists">
{% for list in todo_lists %}
<div class="box">
- <a name="{{ list.id }}"></a>
- <h4>{{ list.name }}</h4>
- <div class="todo_list">
- <div>{{ list.description|safe|linebreaks }}</div>
+ <div class="todo-list">
+ <a name="{{ list.id }}"></a>
+ <h4>{{ list.name }}</h4>
+ <p class="todo-info">{{ list.date_added|date }} - {{ list.creator.get_full_name }}</p>
+ <div>{{ list.description|urlize|linebreaks }}</div>
<table id="todo-pkglist-{{ list.id }}" class="results todo-table">
<thead>
<tr>
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 %}
</ul>
- <p>{{list.description|safe|linebreaks}}</p>
+ <p class="todo-info">{{ list.date_added|date }} - {{ list.creator.get_full_name }}</p>
+
+ <div>{{list.description|urlize|linebreaks}}</div>
<table id="dev-todo-pkglist" class="results todo-table">
<thead>