X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Fdashboard-toplist.html;h=72f596f4afcb0b6a4782659272289b8c520059ac;hb=613464e6e7b634586bca9fabac145d2850b0f0f7;hp=6276f9fd3c15a34db701fa969d84b805d0e513a7;hpb=1ec49b28c30c84962670d80d1c143e65b5b9370a;p=freeside.git
diff --git a/httemplate/elements/dashboard-toplist.html b/httemplate/elements/dashboard-toplist.html
index 6276f9fd3..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*$/ ) {
- |
+ |
-% } else { #label line
+% } elsif ( $line =~ /^\S/ ) { #label line
<% $line %> |
+ <% mt('Lint') |h %> |
+ |
% foreach my $priority ( @custom_priorities, '' ) {
<% $priority || '(none)'%>
@@ -73,6 +84,12 @@
% }
|
+% } else { #regular line
+
+
+ <% $line %> |
+
+
% }
%