summaryrefslogtreecommitdiffstats
path: root/todolists/views.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2013-05-11 01:42:00 +0200
committerDan McGee <dan@archlinux.org>2013-05-11 01:44:25 +0200
commitdad70d0d7c70e7973cd9e3960b24e7f9ef883c61 (patch)
tree548db62f1c70eceb837bd0d1c64a54c9bbd3aebd /todolists/views.py
parentac1c00ee86cc0e355af5e4e6be47ca861091356b (diff)
downloadarchweb-dad70d0d7c70e7973cd9e3960b24e7f9ef883c61.tar.gz
archweb-dad70d0d7c70e7973cd9e3960b24e7f9ef883c61.tar.xz
Add a 'last touched by' column to todolist detail view
This allows you to see very easily who last manipulated a package todolist item in case you have a need to know. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'todolists/views.py')
-rw-r--r--todolists/views.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/todolists/views.py b/todolists/views.py
index d5b3993..ff75686 100644
--- a/todolists/views.py
+++ b/todolists/views.py
@@ -71,12 +71,13 @@ def view(request, slug):
attach_staging(todolist.packages(), todolist.pk)
arches = {tp.arch for tp in todolist.packages()}
repos = {tp.repo for tp in todolist.packages()}
- return render(request, 'todolists/view.html', {
+ context = {
'list': todolist,
'svn_roots': svn_roots,
'arches': sorted(arches),
'repos': sorted(repos),
- })
+ }
+ return render(request, 'todolists/view.html', context)
def list_pkgbases(request, slug, svn_root):