%
% my $bgcolor = '666666;border-color:#555555';
% my $content = '';
+% my $link = '';
% my $selectable = 0;
% my $draggable_ticketid = 0;
% my $draggable_length = 0;
% #false laziness w/xmlhttp-ticket-update.html
% FS::sched_avail::pretty_time($starts). '-'.
% FS::sched_avail::pretty_time($due).
-% ': '. encode_entities($cust_main[0]->_FreesideURILabel);
+% ': '. $cust_main[0]->_FreesideURILabel;
% #'install for custname XX miles away'; #XXX placeholder/more
+% $link = qq( <A HREF="$RT::WebPath/Ticket/Display.html?id=$id" target="_blank">view</A> ).
+% include('/elements/popup_link.html',
+% action=>$RT::WebPath.'/Ticket/ModifyCustomFieldsPopup.html?id='.$id,
+% label =>'edit',
+% actionlabel => 'Edit appointment',
+% height => 436, # better: A + B * (num_custom_fields)
+% );
% $draggable_ticketid = $id;
% $draggable_length = $due - $starts;
%
% }
%
% }
- ><% $content %></td>
+ ><% $content |h %><% $link |n %></td>
<SCRIPT TYPE="text/javascript">
$('#<% $td_id %>').data('username', "<% $username %>");