From: Andrew Dunstan Date: Mon, 2 Feb 2009 16:18:05 +0000 (+0000) Subject: adjust warning class logic to ignore locale X-Git-Url: https://git.exim.org/buildfarm-server.git/commitdiff_plain/9d6bc846ddfed1d5be0ecbf27dc31fb05877ae86 adjust warning class logic to ignore locale --- diff --git a/cgi-bin/show_status.pl b/cgi-bin/show_status.pl index d60fb9f..975d52a 100755 --- a/cgi-bin/show_status.pl +++ b/cgi-bin/show_status.pl @@ -108,7 +108,7 @@ __DATA__ [%- BLOCK img ; IF flag == 'depend' or flag == 'gnu-ld' ; ; ELSIF flag_imgs.$flag %][% flag %] [% ELSE %][%# flag ; ' ' %][% END ; END -%] -[%- BLOCK cl %] class=" [% SWITCH bgfor -%] +[%- BLOCK cl %] class="[% SWITCH bgfor.replace('-.*','') -%] [%- CASE 'OK' %]pass[% CASE 'ContribCheck' %]warn[% CASE [ 'Check' 'InstallCheck' ] %]warnx[% CASE %]fail[% END %]" [%- END -%]