From 598ecd4864e40d7be41e8adc823b46cdc4fe07c6 Mon Sep 17 00:00:00 2001 From: Chris Lamb Date: Thu, 27 Aug 2015 00:57:30 +0200 Subject: b/reproducible_html_packages: Drop space between image and text link As it appears with an annoying spurious underline when you hover your mouse over it.. --- bin/reproducible_html_packages.py | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/bin/reproducible_html_packages.py b/bin/reproducible_html_packages.py index c42d7c4c..e71bf5a8 100755 --- a/bin/reproducible_html_packages.py +++ b/bin/reproducible_html_packages.py @@ -73,14 +73,18 @@ def sizeof_fmt(num): def gen_status_link_icon(status, icon, suite, arch): - html = '' - if status != 'untested': - html += tab*6 + '\n' - html += tab*9 + '{status}\n' - html += tab*9 + ' {status}\n' - if status != 'untested': - html += tab*8 + '\n' + html = """ + + {status} + + + {status} + """ + + # There are no indices for untested packages + if status == 'untested': + html = '{status} {status}' + return html.format(status=status, icon=icon, suite=suite, arch=arch) -- cgit v1.2.3-54-g00ecf