diff options
author | Evangelos Foutras <foutrelis@gmail.com> | 2010-02-07 16:34:48 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-02-17 03:05:12 +0100 |
commit | c568e401ae83be7763d6589bd18a136fee1fd378 (patch) | |
tree | c43dad39706ed6db77446428bd7d5ec9a314ad16 /templates/todolists/view.html | |
parent | 95a6e6070cd036fadaafd954777c73846d6d65a3 (diff) | |
download | archweb-c568e401ae83be7763d6589bd18a136fee1fd378.tar.gz archweb-c568e401ae83be7763d6589bd18a136fee1fd378.tar.xz |
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.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/todolists/view.html b/templates/todolists/view.html index 43dc28e..ce191fb 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> |