diff options
Diffstat (limited to 'httemplate/elements/table-tickets.html')
-rw-r--r-- | httemplate/elements/table-tickets.html | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/httemplate/elements/table-tickets.html b/httemplate/elements/table-tickets.html index f89f98422..d722c9d2b 100644 --- a/httemplate/elements/table-tickets.html +++ b/httemplate/elements/table-tickets.html @@ -5,11 +5,14 @@ View <A HREF="<% $res_link %>"><% mt('resolved') |h %></A> <BR> +% if ( @tickets ) { + <& /elements/table-grid.html &> % my $bgcolor1 = '#eeeeee'; % my $bgcolor2 = '#ffffff'; % my $bgcolor = ''; +<THEAD> <TR> <TH CLASS="grid" BGCOLOR="#cccccc"><% mt('#') |h %></TH> <TH CLASS="grid" BGCOLOR="#cccccc"><% mt('Subject') |h %></TH> @@ -26,6 +29,7 @@ View <TH CLASS="grid" BGCOLOR="#cccccc"><% mt('Service') |h %></TH> % } </TR> +</THEAD> % foreach my $ticket ( @tickets ) { % my $href = FS::TicketSystem->href_ticket($ticket->{id}); @@ -91,6 +95,8 @@ View % } +%} + </TABLE> <%init> |