summaryrefslogtreecommitdiffstats
path: root/bin/templates/package_suitearch_section.mustache
diff options
context:
space:
mode:
authorValerie R Young <spectranaut@riseup.net>2016-06-16 09:45:56 -0400
committerHolger Levsen <holger@layer-acht.org>2016-06-17 23:31:29 +0200
commit0c3fcd537bd06556cda1d290ee926e8365969a04 (patch)
tree2353ef2e34f743eef00cf5448769f182e9ed3bf3 /bin/templates/package_suitearch_section.mustache
parenteaae777d4ed6a973316c2a96b27422249ddb446f (diff)
downloadjenkins.debian.net-0c3fcd537bd06556cda1d290ee926e8365969a04.tar.xz
reproducible debian: improve package page navigation
Changes made: - suite and arch specific details moved from the top of side bar to the suite and arch section - "notes" and "test history" (suite and arch agnostic) move to the top of side bar - hover text added to most links, starting with either "Go to:" (if the link takes you away from package page) or "Show:" (if the link opens a file in the iframe) - enabled notifications flag still on top left, by "Test Details" header reproducible debian: address mattia's code review comments Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'bin/templates/package_suitearch_section.mustache')
-rw-r--r--bin/templates/package_suitearch_section.mustache30
1 files changed, 30 insertions, 0 deletions
diff --git a/bin/templates/package_suitearch_section.mustache b/bin/templates/package_suitearch_section.mustache
new file mode 100644
index 00000000..ed29ba8f
--- /dev/null
+++ b/bin/templates/package_suitearch_section.mustache
@@ -0,0 +1,30 @@
+<ul>
+ {{#architectures}}
+ <li>
+ {{arch}}
+ <ul class="children">
+ {{#suites}}
+ <li class="{{li_classes}}">
+ {{^untested}}
+ <a href="/debian/{{arch}}/{{suite}}/index_{{status}}.html">
+ <img src="/static/{{icon}}" alt="{{spokenstatus}}" title="{{spokenstatus}}"/>
+ </a>
+ {{/untested}}
+ {{#untested}}
+ <img src="/static/{{icon}}" alt="{{spokenstatus}}" title="{{spokenstatus}}"/>
+ {{/untested}}
+ {{^current_suitearch}}
+ <a href="{{package_uri}}" target="_parent" title="{{spokenstatus}}: {{version}} on {{build_date}}">
+ {{version}}
+ </a> in <a href="/debian/{{suite}}/{{arch}}/" title="Go to: summary of all tests for {{arch}}/{{suite}}" target="_parent">{{suite}}</a>
+ {{/current_suitearch}}
+ {{#current_suitearch}}
+ {{version}} in <a href="/debian/{{suite}}/{{arch}}/" title="Go to: summary of all tests for {{arch}}/{{suite}}" target="_parent">{{suite}}</a>
+ {{/current_suitearch}}
+ {{{suitearch_details_html}}}
+ </li>
+ {{/suites}}
+ </ul>
+ </li>
+ {{/architectures}}
+</ul>