summaryrefslogtreecommitdiffstats
path: root/mustache-templates
diff options
context:
space:
mode:
Diffstat (limited to 'mustache-templates')
-rw-r--r--mustache-templates/reproducible/package_history.mustache17
-rw-r--r--mustache-templates/reproducible/package_navigation.mustache8
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}}}