From: Ivan Kohler Date: Sat, 5 Dec 2015 03:45:01 +0000 (-0800) Subject: link to ticket, RT#34237 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=9c11fac3f8d3f31306de62185f623b7afb6e94ee link to ticket, RT#34237 --- diff --git a/httemplate/misc/xmlhttp-ticket-update.html b/httemplate/misc/xmlhttp-ticket-update.html index 46ed5bbad..bd58b95c6 100644 --- a/httemplate/misc/xmlhttp-ticket-update.html +++ b/httemplate/misc/xmlhttp-ticket-update.html @@ -50,7 +50,7 @@ if ( $ticket ) { 'sched_label' => FS::sched_avail::pretty_time($sh*60+$sm). '-'. FS::sched_avail::pretty_time($eh*60+$em). ': '. - $cust_main[0]->_FreesideURILabel, + encode_entities($cust_main[0]->_FreesideURILabel), }; } else { $return = { 'error' => $smsg }; diff --git a/rt/share/html/Elements/CalendarSlotSchedule b/rt/share/html/Elements/CalendarSlotSchedule index bf66dcae5..538a41a94 100644 --- a/rt/share/html/Elements/CalendarSlotSchedule +++ b/rt/share/html/Elements/CalendarSlotSchedule @@ -19,6 +19,7 @@ % % my $bgcolor = '666666;border-color:#555555'; % my $content = ''; +% my $link = ''; % my $selectable = 0; % my $draggable_ticketid = 0; % my $draggable_length = 0; @@ -59,6 +60,7 @@ % FS::sched_avail::pretty_time($due). % ': '. $cust_main[0]->_FreesideURILabel; % #'install for custname XX miles away'; #XXX placeholder/more +% $link = qq( view); % $draggable_ticketid = $id; % $draggable_length = $due - $starts; % @@ -126,7 +128,7 @@ % } % % } - ><% $content |h %> + ><% $content |h %><% $link |n %>