summaryrefslogtreecommitdiffstats
path: root/bin/templates/package_page.mustache
diff options
context:
space:
mode:
authorValerie R Young <spectranaut@riseup.net>2016-06-17 13:25:19 -0400
committerHolger Levsen <holger@layer-acht.org>2016-06-17 23:31:29 +0200
commita38157cc26a612b1be67857bdeac3210b0d04928 (patch)
treee3d3dd4b14f037f723d5a7e6b913f9e1a7a38c1a /bin/templates/package_page.mustache
parent0c3fcd537bd06556cda1d290ee926e8365969a04 (diff)
downloadjenkins.debian.net-a38157cc26a612b1be67857bdeac3210b0d04928.tar.xz
reproducible debian: add notes about notes to package page
On the package page, if there are no notes: - if the package is not reproducible, you will see a prompt encouraging the user to add notes - if the package is reproducible, you will see a congratulatory message. Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'bin/templates/package_page.mustache')
-rw-r--r--bin/templates/package_page.mustache8
1 files changed, 8 insertions, 0 deletions
diff --git a/bin/templates/package_page.mustache b/bin/templates/package_page.mustache
index 059bffb0..578d8edf 100644
--- a/bin/templates/package_page.mustache
+++ b/bin/templates/package_page.mustache
@@ -9,6 +9,14 @@
{{#notes_uri}}
<li><a href="{{notes_uri}}" title="Additional commentary on this packages unreproduciblity"target="main">notes</a></li>
{{/notes_uri}}
+ {{^notes_uri}}
+ {{^reproducible}}
+ <li>No notes exist for this package. <a href="https://anonscm.debian.org/git/reproducible/notes.git/tree/README">Add some.</a></li>
+ {{/reproducible}}
+ {{#reproducible}}
+ <li>Good work! This package is reproducible :)</li>
+ {{/reproducible}}
+ {{/notes_uri}}
<li>
<a href="{{history}}" target="main">test history</a>
</li>