X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Fshare%2Fhtml%2FElements%2FCalendarSlotSchedule;h=08ed87a1d5b1b45273c696f0afb364eb2673a3fa;hb=cb83fc394cf618e22a23f3282199a0cedb2e8339;hp=632fabba342586583a21d786ace94c1b06b19fcf;hpb=e829521f6259e15f60a24c412557e02cf8e12f71;p=freeside.git diff --git a/rt/share/html/Elements/CalendarSlotSchedule b/rt/share/html/Elements/CalendarSlotSchedule index 632fabba3..08ed87a1d 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; @@ -57,8 +58,15 @@ % #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( view ). +% 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; % @@ -126,7 +134,7 @@ % } % % } - ><% $content %> + ><% $content |h %><% $link |n %>