From 70988212858663c22601e9b6039167499e96c26c Mon Sep 17 00:00:00 2001 From: Mattia Rizzolo Date: Thu, 5 Mar 2015 15:01:13 +0100 Subject: reproducible: html_indexes: add support for bottom text --- bin/reproducible_html_indexes.py | 8 ++++---- 1 file 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 full scheduling overview is also available.') + 'text': Template('$tot packages are currently scheduled for testing in $suite/$arch:'), + 'bottom': 'A full scheduling overview is also available.' } ] }, @@ -318,6 +316,8 @@ def build_page_section(section, suite, arch): html += get_trailing_icon(pkg, bugs) + '\n' html += tab + '\n' html += '

' + if section.get('bottom'): + html += section['bottom'] html = (tab*2).join(html.splitlines(True)) return html -- cgit v1.2.3-70-g09d2