From 507c17c70c377331bc26f012da7e6734c1501ffd Mon Sep 17 00:00:00 2001 From: Mattia Rizzolo Date: Wed, 14 Jan 2015 19:42:24 +0100 Subject: reproducible: change the way the footpage info are passed. Add html_foot_page_buildinfo_note template --- bin/reproducible_html_notes.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'bin/reproducible_html_notes.py') diff --git a/bin/reproducible_html_notes.py b/bin/reproducible_html_notes.py index f86a2926..ce14c260 100755 --- a/bin/reproducible_html_notes.py +++ b/bin/reproducible_html_notes.py @@ -267,7 +267,7 @@ def iterate_over_notes(notes): title = 'Notes for ' + package + ' - reproducible builds result' destfile = NOTES_PATH + '/' + package + '_note.html' write_html_page(title=title, body=html, destfile=destfile, - noheader=True, nofooter=True) + noheader=True) desturl = REPRODUCIBLE_URL + NOTES_URI + '/' + package + '_note.html' log.info("you can now see your notes at " + desturl) @@ -284,7 +284,8 @@ def iterate_over_issues(issues): title = 'Notes about issue ' + issue destfile = ISSUES_PATH + '/' + issue + '_issue.html' - write_html_page(title=title, body=html, destfile=destfile) + write_html_page(title=title, body=html, destfile=destfile, + style_note=True) desturl = REPRODUCIBLE_URL + ISSUES_URI + '/' + issue + '_issue.html' log.info("you can now see the issue at " + desturl) @@ -302,7 +303,7 @@ def index_issues(issues): title = 'Overview of known issues related to reproducible builds' destfile = BASE + '/index_issues.html' desturl = REPRODUCIBLE_URL + '/index_issues.html' - write_html_page(title=title, body=html, destfile=destfile, nofooter=True) + write_html_page(title=title, body=html, destfile=destfile) log.info('Issues index now available at ' + desturl) if __name__ == '__main__': -- cgit v1.2.3-70-g09d2