X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Felements%2Fmcp_lint.html;h=161415eff3d8feabce825c1ce2b5aa38ba73db9d;hp=826549c65bb842e08d4cb0157349b401563073dd;hb=c3da5cf1caa244937d280e0f406927103beef148;hpb=106d0163556c31a3b2cf9c065ec6d9d6ded0ce64 diff --git a/httemplate/elements/mcp_lint.html b/httemplate/elements/mcp_lint.html index 826549c65..161415eff 100644 --- a/httemplate/elements/mcp_lint.html +++ b/httemplate/elements/mcp_lint.html @@ -1,5 +1,6 @@ % foreach my $lint (@lint) { - <% $lint %>
+% my $color = ( $lint =~ /unchecked$/ ? '#FF9900' : '#FF0000' ); + <% $lint %>
% } <%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 ) {