summaryrefslogtreecommitdiff
path: root/templates/todolists/view.html
diff options
context:
space:
mode:
authorEvangelos Foutras <foutrelis@gmail.com>2010-02-07 17:34:48 +0200
committerDan McGee <dan@archlinux.org>2010-02-16 20:05:12 -0600
commitc568e401ae83be7763d6589bd18a136fee1fd378 (patch)
treec43dad39706ed6db77446428bd7d5ec9a314ad16 /templates/todolists/view.html
parent95a6e6070cd036fadaafd954777c73846d6d65a3 (diff)
ToDo: Use pkgr2,pkgr1 classes with the cycle tag
This brings back the alternating colors in the table and makes it much easier to flag the correct package. Signed-off-by: Evangelos Foutras <foutrelis@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/todolists/view.html')
-rw-r--r--templates/todolists/view.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/todolists/view.html b/templates/todolists/view.html
index 43dc28e3..ce191fba 100644
--- a/templates/todolists/view.html
+++ b/templates/todolists/view.html
@@ -3,7 +3,7 @@
<div class="greybox">
<div style="float:right">
{% if perms.main.delete_todolist %}
- <a href="/todo/delete/{{list.id}}/">Delete Todo List</a> |
+ <a href="/todo/delete/{{list.id}}/">Delete Todo List</a> |
{% endif %}
{% if perms.main.change_todolist %}
<a href="/todo/edit/{{list.id}}/">Edit Todo List</a>
@@ -22,7 +22,7 @@
</thead>
<tbody>
{% for pkg in list.packages %}
- <tr class="{% cycle even,odd %}">
+ <tr class="{% cycle pkgr2,pkgr1 %}">
<td><a href="{{ pkg.pkg.get_absolute_url }}">{{ pkg.pkg.pkgname }}</a></td>
<td>{{ pkg.pkg.arch.name }}</td>
<td>{{ pkg.pkg.repo.name|capfirst }}</td>