diff options
author | Valerie R Young <spectranaut@riseup.net> | 2016-07-27 13:00:40 -0400 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2016-07-28 14:06:26 -0400 |
commit | d605e52ca7b4f5d47820751e7ae9a3e4f2864e6f (patch) | |
tree | fe5db8027fade2e87223970f39c71a29db34583e /mustache-templates/reproducible | |
parent | c6ac981c4c0eec62aca518fb74845a505701c211 (diff) | |
download | jenkins.debian.net-d605e52ca7b4f5d47820751e7ae9a3e4f2864e6f.tar.xz |
reproducible debian: create arch specific history pages for packages
Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'mustache-templates/reproducible')
-rw-r--r-- | mustache-templates/reproducible/package_history.mustache | 17 | ||||
-rw-r--r-- | mustache-templates/reproducible/package_navigation.mustache | 8 |
2 files changed, 24 insertions, 1 deletions
diff --git a/mustache-templates/reproducible/package_history.mustache b/mustache-templates/reproducible/package_history.mustache new file mode 100644 index 00000000..8326e8dc --- /dev/null +++ b/mustache-templates/reproducible/package_history.mustache @@ -0,0 +1,17 @@ +{{^rows}} +<p>No historical data available for this package{{#arch}} on architecture: {{arch}}{{/arch}}.</p> +{{/rows}} +<table> + <tr> + {{#keys}} + <th>{{key}}</th> + {{/keys}} + </tr> + {{#rows}} + <tr> + {{#row_items}} + <td>{{{item}}}</td> + {{/row_items}} + </tr> + {{/rows}} +</table> diff --git a/mustache-templates/reproducible/package_navigation.mustache b/mustache-templates/reproducible/package_navigation.mustache index 0d579b7d..e90d2612 100644 --- a/mustache-templates/reproducible/package_navigation.mustache +++ b/mustache-templates/reproducible/package_navigation.mustache @@ -17,7 +17,13 @@ {{/reproducible}} {{/notes_uri}} <li> - <a href="{{history}}" target="main">test history</a> + <a href="{{history_uri}}" target="main">test history</a> + <ul class="children"><li> + Filter by: + {{#history_archs}} + <a href="{{history_arch_uri}}" target="main"><span class="filter-history">{{history_arch}}<span></a> + {{/history_archs}} + </li></ul> </li> <h4>Suite and Architecture</h4> {{{suitearch_section_html}}} |