X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=httemplate%2Felements%2Ftable-tickets.html;h=c63a55e56327a9f923761823c18471f81cb39269;hb=0a91d21fcf8ebeb12cd71230d79153c1fa0d82a3;hp=ffcaf067719495f854b5cd7bbe097676a88e50cb;hpb=a977d27ac2e9d8f8e1adbbdcfc3547bc378dde63;p=freeside.git
diff --git a/httemplate/elements/table-tickets.html b/httemplate/elements/table-tickets.html
index ffcaf0677..c63a55e56 100644
--- a/httemplate/elements/table-tickets.html
+++ b/httemplate/elements/table-tickets.html
@@ -11,6 +11,7 @@ View
% my $bgcolor = '';
+ |
<% mt('#') |h %> |
<% mt('Subject') |h %> |
<% mt('Status') |h %> |
@@ -38,11 +39,21 @@ View
+% if ( $ticket->{is_unreplied} ) {
+ >
+% } else {
+% # placeholder
+ >
+% }
+
+ |
+
+
><% $ticket->{id} %>
|
- ><% $ticket->{subject} %>
+ ><% $ticket->{subject} |h %>
|
@@ -54,7 +65,7 @@ View
|
- <% $ticket->{owner} %>
+ <% $ticket->{owner} |h %>
|
@@ -69,12 +80,13 @@ View
<% $ticket->{content}
? $ticket->{content}.' ('.$ticket->{priority}.')'
: $ticket->{priority}
+ |h
%>
|
% if ( $ss_priority ) {
- <% $ticket->{"CF.{$ss_priority}"} %>
+ <% $ticket->{"CF.{$ss_priority}"} |h %>
|
% }
% if ( $object->isa('FS::cust_main') ) {
@@ -153,7 +165,7 @@ if ( $ss_priority ) {
my $format = $conf->config('date_format') || '%Y-%m-%d';
my $date_formatter = sub {
- my $time = str2time($_[0], 'GMT');
+ my $time = parse_datetime($_[0], 'GMT');
# exclude times within 24 hours of zero
($time > 86400) ? time2str($format, $time) : '';
};