summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_html_indexes.py
diff options
context:
space:
mode:
authorValerie R Young <spectranaut@riseup.net>2016-06-30 14:42:11 -0400
committerHolger Levsen <holger@layer-acht.org>2016-07-17 12:12:05 +0200
commitb3999887aa7387e7db24ebab04d3d15c4ac7d9df (patch)
tree442b4759576bd5e9c9f2753c181c539a36f34b54 /bin/reproducible_html_indexes.py
parentf16c248f5153732d36e808df1da2e12c8fd8a6bf (diff)
downloadjenkins.debian.net-b3999887aa7387e7db24ebab04d3d15c4ac7d9df.tar.xz
reproducible debian: add main navigation highlighting to python pages
Added the correct navigation highlighting to the following pages: notes, no notes, tested in the last 24 hours, tested in the last 48 hours, all packages, notifications enabled, breakages, issue pages, scheduled, and maintainers page. Signed-off-by: Mattia Rizzolo <mattia@debian.org> Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'bin/reproducible_html_indexes.py')
-rwxr-xr-xbin/reproducible_html_indexes.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/reproducible_html_indexes.py b/bin/reproducible_html_indexes.py
index f0eda28b..46a0b23f 100755
--- a/bin/reproducible_html_indexes.py
+++ b/bin/reproducible_html_indexes.py
@@ -529,7 +529,8 @@ def build_page(page, suite=None, arch=None):
destfile = DEBIAN_BASE + '/' + suite + '/' + arch + '/index_' + page + '.html'
desturl = DEBIAN_URL + '/' + suite + '/' + arch + '/index_' + \
page + '.html'
- write_html_page(title=title, body=html, destfile=destfile, suite=suite, arch=arch, style_note=True)
+ write_html_page(title=title, body=html, destfile=destfile, suite=suite,
+ arch=arch, style_note=True, displayed_page=page)
log.info('"' + title + '" now available at ' + desturl)