X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Fmcp_lint.html;h=161415eff3d8feabce825c1ce2b5aa38ba73db9d;hb=f4209091a9f7120f1961ab2d2efd4d3a00b94268;hp=826549c65bb842e08d4cb0157349b401563073dd;hpb=106d0163556c31a3b2cf9c065ec6d9d6ded0ce64;p=freeside.git
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 ) {