From dbdb5de3a403d523bc70c10cb83969418c1b8b3f Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Fri, 30 Dec 2016 09:59:14 +0000 Subject: [PATCH] Give whole range as title on colour-bar --- templates/history.tt | 2 +- templates/status.tt | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/history.tt b/templates/history.tt index 2281a3f..442a4c1 100644 --- a/templates/history.tt +++ b/templates/history.tt @@ -46,7 +46,7 @@ See accompanying License file for license details -%] [%# The IF-backstop is ugly and I'm not understanding why the res_img lookup does not for for '.' -%] [%- BLOCK colour ; IF res_imgs.$c.defined ; res_imgs.$c ; ELSE %]/img/t_notdone.gif [% END; END %] -[%- BLOCK colourbar %][% c %][%- END -%] +[%- BLOCK colourbar %][%- END -%] [% BLOCK stdet %] [%- row.when_ago | replace('\s',' ') %] ago  diff --git a/templates/status.tt b/templates/status.tt index 29be4e3..8e44bfc 100644 --- a/templates/status.tt +++ b/templates/status.tt @@ -36,7 +36,7 @@ See accompanying License file for license details '.' => '/img/t_notdone.gif', } -%] -[%- BLOCK img ; IF flag == 'depend' or flag == 'gnu-ld' ; ; ELSIF flag_imgs.$flag %][% flag %] [% ELSE %][%# +[%- BLOCK img ; IF flag == 'depend' or flag == 'gnu-ld' ; ; ELSIF flag_imgs.$flag %][% flag %] [% ELSE %][%# flag ; ' ' %][% END ; END -%] [%- BLOCK sysnotes ; IF row.sys_notes %] @@ -46,7 +46,7 @@ See accompanying License file for license details [%- END -%] [%# The IF-backstop is ugly and I'm not understanding why the res_img lookup does not for for '.' -%] [%- BLOCK colour ; IF res_imgs.$c.defined ; res_imgs.$c ; ELSE %]/img/t_notdone.gif [% END; END %] -[%- BLOCK colourbar %][% c %][%- END -%] +[%- BLOCK colourbar %][%- END -%] [% WRAPPER 'page.tt' title = 'Exim BuildFarm Status' bodyclass = 'none' @@ -63,7 +63,7 @@ See accompanying License file for license details

[% FOREACH flagset IN flag_imgs %] - + [% IF loop.count == 7 %][% END %] [% END %]
Legend[% flagset.key %] = [% flagset.key %][% flagset.key %] = [% flagset.key %]
-- 2.30.2