git://git.exim.org
/
buildfarm-server.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b0a27e8
)
adjust warning class logic to ignore locale
author
Andrew Dunstan
<andrew@dunslane.net>
Mon, 2 Feb 2009 16:18:05 +0000
(16:18 +0000)
committer
Andrew Dunstan
<andrew@dunslane.net>
Mon, 2 Feb 2009 16:18:05 +0000
(16:18 +0000)
cgi-bin/show_status.pl
patch
|
blob
|
history
diff --git
a/cgi-bin/show_status.pl
b/cgi-bin/show_status.pl
index d60fb9f7f563cf7b6f7bfd7e2d1e676cf1356838..975d52aa87c7739ee728e443792acff85ff29416 100755
(executable)
--- 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 %]<img src="[% flag_imgs.$flag %]" title="[% flag %]" alt="[% flag %]" height="16" width="16" class="inline" align="bottom" /> [% ELSE %][%#
flag ; ' '
%][% END ; END -%]
[%- BLOCK img ; IF flag == 'depend' or flag == 'gnu-ld' ; ; ELSIF flag_imgs.$flag %]<img src="[% flag_imgs.$flag %]" title="[% flag %]" alt="[% flag %]" height="16" width="16" class="inline" align="bottom" /> [% 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 -%]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
[%- CASE 'OK' %]pass[% CASE 'ContribCheck' %]warn[% CASE [ 'Check' 'InstallCheck' ] %]warnx[% CASE %]fail[% END %]"
[%- END -%]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"