summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_common.py
diff options
context:
space:
mode:
authorValerie R Young <spectranaut@riseup.net>2016-07-25 18:06:00 -0400
committerHolger Levsen <holger@layer-acht.org>2016-07-28 14:06:24 -0400
commit1b4dc1b3191e3623a0eeb7cacef80be1ab71d0a2 (patch)
tree1311be767dc70e865b0d126425e0371d28e5ed5b /bin/reproducible_common.py
parent065c7381d97e87cd2d2a799093023e120b1cad0c (diff)
downloadjenkins.debian.net-1b4dc1b3191e3623a0eeb7cacef80be1ab71d0a2.tar.xz
reproducible debian: show the "show all" button when summary tag supported
The "summary" tag is presentally not supported in firefox... but will be with the release of firefox version 48 in August 2016! In the meantime, this commit hides the "see all package sets in suite/arch" button on the package set pages used to expand all the summary tags for firefox. Once Firefox 48 is released, this commit should be reverted. Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'bin/reproducible_common.py')
-rwxr-xr-xbin/reproducible_common.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/reproducible_common.py b/bin/reproducible_common.py
index dd67f467..92813e06 100755
--- a/bin/reproducible_common.py
+++ b/bin/reproducible_common.py
@@ -310,7 +310,7 @@ def create_main_navigation(suite=defaultsuite, arch=defaultarch,
def write_html_page(title, body, destfile, no_header=False, style_note=False,
noendpage=False, refresh_every=None, displayed_page=None,
- left_nav_html=None):
+ left_nav_html=None, include_pkgset_js=None):
meta_refresh_html = '<meta http-equiv="refresh" content="%d"></meta>' % \
refresh_every if refresh_every is not None else ''
if style_note:
@@ -325,6 +325,7 @@ def write_html_page(title, body, destfile, no_header=False, style_note=False,
'main_header': title if not no_header else "",
'main_html': body,
'style_dot_css_sha1sum': REPRODUCIBLE_STYLE_SHA1,
+ 'include_pkgset_js': include_pkgset_js,
}
html = renderer.render(basic_page_template, context)