add unchecked vs. ok distinction to lint
[freeside.git] / httemplate / elements / mcp_lint.html
index 826549c..9e2b5ca 100644 (file)
@@ -1,5 +1,6 @@
 % foreach my $lint (@lint) {
-  <FONT COLOR="#FF0000"><% $lint %></FONT><BR>
+%   my $color = ( $lint =~ /unchecked$/ ? '#FF9900' : '#FF0000' );
+    <FONT COLOR="<% $color %>"><% $lint %></FONT><BR>
 % }
 
 <%init>