summaryrefslogtreecommitdiffstats
path: root/bin/templates
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/templates
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/templates')
-rw-r--r--bin/templates/basic_page.mustache17
-rw-r--r--bin/templates/pkgset_navigation.mustache2
2 files changed, 11 insertions, 8 deletions
diff --git a/bin/templates/basic_page.mustache b/bin/templates/basic_page.mustache
index c84f95b9..f5fe0383 100644
--- a/bin/templates/basic_page.mustache
+++ b/bin/templates/basic_page.mustache
@@ -5,18 +5,21 @@
<meta name="viewport" content="width=device-width" />
{{{meta_refresh}}}
<link href="/static/style.css?v={{style_dot_css_sha1sum}}" type="text/css" rel="stylesheet" />
+ {{#include_pkgset_js}}
+ <script type="text/JavaScript" src="/static/pkgset.js"></script>
+ {{/include_pkgset_js}}
<title>{{page_title}}</title>
</head>
<body class="wrapper">
- {{#navigation_html}}
- <header class="head">
+ {{#navigation_html}}
+ <header class="head">
{{{navigation_html}}}
- </header>
- {{/navigation_html}}
+ </header>
+ {{/navigation_html}}
{{#navigation_html}}<div class="mainbody">{{/navigation_html}}
- {{#main_header}}
- <h2>{{main_header}}</h2>
- {{/main_header}}
+ {{#main_header}}
+ <h2>{{main_header}}</h2>
+ {{/main_header}}
{{{main_html}}}
{{#navigation_html}}</div>{{/navigation_html}}
</body>
diff --git a/bin/templates/pkgset_navigation.mustache b/bin/templates/pkgset_navigation.mustache
index d9759409..98bfd5ce 100644
--- a/bin/templates/pkgset_navigation.mustache
+++ b/bin/templates/pkgset_navigation.mustache
@@ -1,6 +1,6 @@
<ul>
{{#pkgset_page}}
- <li>
+ <li id="expand-all-pkgsets">
<a href="/debian/{{suite}}/{{arch}}/index_pkg_sets.html"
title="To switch suite and arch, see top left">
All tracked package sets for <b>{{suite}}/{{arch}}</b>