stray closing /TABLE in the no-ticket case
[freeside.git] / httemplate / elements / mcp_lint.html
index 826549c..161415e 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>
@@ -24,7 +25,9 @@ if ( $opt{svc} ) {
   die 'neither svc nor cust_main options passed to mcp_lint';
 }
 
+
 my @lint = ();
+push @lint, 'unchecked' unless @svc;
 foreach my $svc ( @svc ) {
   my @svc_lint = tron_lint($svc);
   if ( scalar(@svc) > 1 ) {