diff options
author | Mattia Rizzolo <mattia@mapreri.org> | 2015-03-05 15:01:13 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-03-05 15:03:02 +0100 |
commit | 70988212858663c22601e9b6039167499e96c26c (patch) | |
tree | e462bc20229b530908dc9ec68e33ac1fb1189cbf /bin | |
parent | a56bcc8f9be56cd9277631e0cf5be51d64ab0f57 (diff) | |
download | jenkins.debian.net-70988212858663c22601e9b6039167499e96c26c.tar.xz |
reproducible: html_indexes: add support for bottom text
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/reproducible_html_indexes.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/reproducible_html_indexes.py b/bin/reproducible_html_indexes.py index b6340e10..e1b8394d 100755 --- a/bin/reproducible_html_indexes.py +++ b/bin/reproducible_html_indexes.py @@ -131,10 +131,8 @@ pages = { 'body': [ { 'query': 'scheduled', - 'text': Template('$tot packages are currently scheduled for testing in $suite/$arch:') - }, - { - 'text': Template('A <a href="/index_scheduled.html">full scheduling overview</a> is also available.') + 'text': Template('$tot packages are currently scheduled for testing in $suite/$arch:'), + 'bottom': 'A <a href="/index_scheduled.html">full scheduling overview</a> is also available.' } ] }, @@ -318,6 +316,8 @@ def build_page_section(section, suite, arch): html += get_trailing_icon(pkg, bugs) + '\n' html += tab + '</code>\n' html += '</p>' + if section.get('bottom'): + html += section['bottom'] html = (tab*2).join(html.splitlines(True)) return html |