diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-03-06 14:13:36 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-03-06 14:13:36 +0000 |
commit | 3ee286527f1ec23ead2c11201b9fa504a5bf6208 (patch) | |
tree | 8a9f605f751126c884139a6b3baa2835684ed22b /templates/todolists/view.html | |
parent | 2c2614c48957c32334aa9ba317db935a979cd67f (diff) | |
parent | fee4c20e9607ccc479c33b2476fa1ba709efe607 (diff) |
Merge branch 'master' of /srv/git/projects/parabolaweb
Conflicts:
.gitignore
Diffstat (limited to 'templates/todolists/view.html')
-rw-r--r-- | templates/todolists/view.html | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/todolists/view.html b/templates/todolists/view.html index 046aed32..477e0180 100644 --- a/templates/todolists/view.html +++ b/templates/todolists/view.html @@ -38,6 +38,7 @@ <td>{{ pkg.pkg.repo.name|capfirst }}</td> <td>{{ pkg.pkg.maintainers|join:', ' }}</td> <td> + {% if perms.main.change_todolistpkg %} {% if pkg.complete %} <a href="/todo/flag/{{ list.id }}/{{ pkg.id }}/" class="status-link complete" title="Toggle completion status">Complete</a> @@ -45,6 +46,9 @@ <a href="/todo/flag/{{ list.id }}/{{ pkg.id }}/" class="status-link incomplete" title="Toggle completion status">Incomplete</a> {% endif %} + {% else %} + {% if pkg.complete %}<span class="complete">Complete</span>{% else %}<span class="incomplete">Incomplete</span>{% endif %} + {% endif %} </td> </tr> {% endfor %} |