diff options
-rw-r--r-- | media/archweb.css | 9 | ||||
-rw-r--r-- | templates/todolists/list.html | 2 | ||||
-rw-r--r-- | templates/todolists/public_list.html | 11 | ||||
-rw-r--r-- | templates/todolists/view.html | 4 |
4 files changed, 13 insertions, 13 deletions
diff --git a/media/archweb.css b/media/archweb.css index 47abba7b..aec78f87 100644 --- a/media/archweb.css +++ b/media/archweb.css @@ -248,18 +248,15 @@ table.dash-stats .key { width: 50%; } span.dash-click { font-weight: normal; font-size: 0.8em; color: #888; } div.dash-stats h3 { color: #07b; } -/* read only (public) todo lists */ -#public_todo_lists .todo_list { - margin-left: 2em; -} - /* dev dashboard: admin actions (add news items, todo list, etc) */ ul.admin-actions { float: right; list-style: none; margin-top: -2.5em; } ul.admin-actions li { display: inline; padding-left: 1.5em; } -/* dev: todo list */ +/* todo lists (public and private) */ .todo-table .complete { color: green; } .todo-table .incomplete { color: red; } +.todo-info { margin: 0; color: #999; } +.todo-list h4 { margin-top: 0; margin-bottom: 0.4em; } /* dev: signoff page */ #dev-signoffs ul { list-style: none; margin: 0; padding: 0; } diff --git a/templates/todolists/list.html b/templates/todolists/list.html index 2e75bdac..78acabfb 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 d84a548f..0d14250d 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 36ecb9bf..9a6e3c0f 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> |