summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_html_indexes.py
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@mapreri.org>2015-03-05 15:01:13 +0100
committerHolger Levsen <holger@layer-acht.org>2015-03-05 15:03:02 +0100
commit70988212858663c22601e9b6039167499e96c26c (patch)
treee462bc20229b530908dc9ec68e33ac1fb1189cbf /bin/reproducible_html_indexes.py
parenta56bcc8f9be56cd9277631e0cf5be51d64ab0f57 (diff)
downloadjenkins.debian.net-70988212858663c22601e9b6039167499e96c26c.tar.xz
reproducible: html_indexes: add support for bottom text
Diffstat (limited to 'bin/reproducible_html_indexes.py')
-rwxr-xr-xbin/reproducible_html_indexes.py8
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