summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_html_packages.py
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2016-05-18 23:04:49 +0200
committerHolger Levsen <holger@layer-acht.org>2016-05-18 23:04:49 +0200
commitec7d8f8d5ea8a2690cdd8251943cd5e1372682e0 (patch)
tree8c0f51f25e937682e4c6d765e7b4b062500a5134 /bin/reproducible_html_packages.py
parent91f45a9c749e10cd3c9eac6062a89072721ecbeb (diff)
downloadjenkins.debian.net-ec7d8f8d5ea8a2690cdd8251943cd5e1372682e0.tar.xz
reproducible debian: right align table cells by default, provide css classes for left and center alignment
Diffstat (limited to 'bin/reproducible_html_packages.py')
-rwxr-xr-xbin/reproducible_html_packages.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/reproducible_html_packages.py b/bin/reproducible_html_packages.py
index ce01db6d..7c55a266 100755
--- a/bin/reproducible_html_packages.py
+++ b/bin/reproducible_html_packages.py
@@ -220,7 +220,7 @@ def gen_history_page(package):
record['node2'] = shorten_if_debiannet(record['node2'])
# add icon to result
status, icon, spokenstatus = get_status_icon(record['result'])
- result_html = '<img src="/static/{icon}" alt="{spokenstatus}" title="{spokenstatus}"/> ' + spokenstatus
+ result_html = spokenstatus + ' <img src="/static/{icon}" alt="{spokenstatus}" title="{spokenstatus}"/>'
record['result'] = result_html.format(icon=icon, spokenstatus=spokenstatus)
# human formatting of build duration
record['build duration'] = convert_into_hms_string(