X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Fdashboard-toplist.html;h=72f596f4afcb0b6a4782659272289b8c520059ac;hb=7aef2e455fe8a4722036f231ee8609ac63b2a9c9;hp=5b8c524928c0fe5f9ad605aed1c4ce2d3ba52ce7;hpb=3f3c8af45e3450374818794baf79e3a7238a3489;p=freeside.git diff --git a/httemplate/elements/dashboard-toplist.html b/httemplate/elements/dashboard-toplist.html index 5b8c52492..72f596f4a 100644 --- a/httemplate/elements/dashboard-toplist.html +++ b/httemplate/elements/dashboard-toplist.html @@ -1,6 +1,6 @@ % if ( $conf->exists('dashboard-toplist') ) { - <% include('/elements/table-grid.html') %> + <& /elements/table-grid.html &> % my $bgcolor1 = '#eeeeee'; % my $bgcolor2 = '#ffffff'; @@ -23,6 +23,15 @@ <% $cust_main->name %> + + <& /elements/mcp_lint.html, 'cust_main'=>$cust_main &> + + + + <% mt('(new ticket)') |h %> + + + % foreach my $priority ( @custom_priorities, '' ) { % my $num = % FS::TicketSystem->num_customer_tickets($custnum,$priority); @@ -42,7 +51,7 @@ - Unknown customer number <% $custnum %> + <% mt("Unknown customer number [_1]", $custnum) |h %> @@ -51,7 +60,7 @@ % } elsif ( $line =~ /^\-\-+$/ ) { #divider % - + % next; @@ -59,13 +68,15 @@ % } elsif ( $line =~ /^\s*$/ ) { -   +   % } elsif ( $line =~ /^\S/ ) { #label line <% $line %> + <% mt('Lint') |h %> + % foreach my $priority ( @custom_priorities, '' ) { <% $priority || '(none)'%> @@ -76,7 +87,7 @@ % } else { #regular line - <% $line %> + <% $line %> % }