summaryrefslogtreecommitdiffstats
path: root/public
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-05-26 16:58:43 +0200
committerDan McGee <dan@archlinux.org>2010-05-26 16:59:37 +0200
commitc426fbebb786f4b33fd701f37372c30ebfed796a (patch)
tree9fdf95b9f481cd76f49922a1bf142ea86f907095 /public
parent277117ba34204995efac766b715fe62270a5e908 (diff)
downloadarchweb-c426fbebb786f4b33fd701f37372c30ebfed796a.tar.gz
archweb-c426fbebb786f4b33fd701f37372c30ebfed796a.tar.xz
Highlight 'Packages' in navbar when browsing packages
Get this working by doing some class business with CSS in order to highlight the correct tab. I had to add some stuff to a variety of pages but it should be working correctly now. Addresses FS#19591. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'public')
-rw-r--r--public/views.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/public/views.py b/public/views.py
index eaa5734..13589a8 100644
--- a/public/views.py
+++ b/public/views.py
@@ -53,8 +53,7 @@ def download(request):
return list_detail.object_list(request,
qset.order_by('mirror__country', 'mirror__name', 'protocol'),
template_name="public/download.html",
- template_object_name="mirror_url",
- extra_context={"path": request.path})
+ template_object_name="mirror_url")
def feeds(request):
context = {