summaryrefslogtreecommitdiffstats
path: root/bin/templates
diff options
context:
space:
mode:
authorValerie R Young <spectranaut@riseup.net>2016-07-16 10:17:26 -0400
committerHolger Levsen <holger@layer-acht.org>2016-07-24 11:46:03 -0400
commita93cd8dbb2de5474ec20b728f09395575d81cac2 (patch)
tree408cb00a5cbc5ff4414e9ece4f8141a4b0fd3d35 /bin/templates
parentf4ea95be872e2aebcf5ac6b46b5d504d35c078be (diff)
downloadjenkins.debian.net-a93cd8dbb2de5474ec20b728f09395575d81cac2.tar.xz
reproducible debian: add cross arch/suite navigation for many pages
From the left navigation "suite/arch" section, you can now navigation between suite and architecture specific results for the following pages: packages sets, packages with notes, packages without notes, packages tested in 24/48hs, all packages state pages and all packages page. Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'bin/templates')
-rw-r--r--bin/templates/main_navigation.mustache13
1 files changed, 11 insertions, 2 deletions
diff --git a/bin/templates/main_navigation.mustache b/bin/templates/main_navigation.mustache
index 1846a2e7..8b9de722 100644
--- a/bin/templates/main_navigation.mustache
+++ b/bin/templates/main_navigation.mustache
@@ -1,15 +1,22 @@
<a href="{{debian_uri}}"><h2>Debian Dashboard</h2></a>
<ul class="menu">
+ {{^cross_suite_arch_nav}}
<h4>Suite/Architecture Overviews</h4>
+ {{/cross_suite_arch_nav}}
+ {{#cross_suite_arch_nav}}
+ <h4>Change Suite/Architecture</h4>
+ {{/cross_suite_arch_nav}}
<li>
Tested architectures:
<ul class="children">
<li>
{{#arch_list}}
+ {{#uri}}
<a class='{{class}}'
- href="/debian/{{suite}}/index_suite_{{a}}_stats.html">
+ href="{{uri}}">
{{a}}
</a>
+ {{/uri}}
{{/arch_list}}
</li>
</ul>
@@ -18,10 +25,12 @@
<ul class="children">
<li>
{{#suite_list}}
+ {{#uri}}
<a class='{{class}}'
- href="/debian/{{s}}/index_suite_{{arch}}_stats.html">
+ href="{{uri}}">
{{s}}
</a>
+ {{/uri}}
{{/suite_list}}
</li>
</ul>