From 9d05eaaf17ada447446ad335e1e7d05bf13560de Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Tue, 17 May 2016 14:03:03 +0200 Subject: reproducible debian: add icons to package test history pages --- bin/reproducible_html_packages.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'bin') diff --git a/bin/reproducible_html_packages.py b/bin/reproducible_html_packages.py index fe64450d..ed58b055 100755 --- a/bin/reproducible_html_packages.py +++ b/bin/reproducible_html_packages.py @@ -211,6 +211,10 @@ def gen_history_page(package): html += '{}'.format(i) html += '\n{tab}'.format(tab=tab) for record in package.history: + # add icon to result + status, icon, spokenstatus = get_status_icon(record['result']) + result_html = '{spokenstatus} ' + spokenstatus + record['result'] = result_html.format(icon=icon, spokenstatus=spokenstatus) # human formatting of build duration record['build duration'] = convert_into_hms_string( int(record['build duration'])) -- cgit v1.2.3-70-g09d2