summaryrefslogtreecommitdiffstats
path: root/bin/templates/main_navigation.mustache
diff options
context:
space:
mode:
Diffstat (limited to 'bin/templates/main_navigation.mustache')
-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>