From 22f83589b4a605b40fd8107ee949e4921c130797 Mon Sep 17 00:00:00 2001 From: Jonathan Prykop Date: Mon, 28 Mar 2016 19:41:52 -0500 Subject: [PATCH] RT#34237: installer scheduling [removed edit links, v3 only] --- rt/share/html/Elements/CalendarSlotSchedule | 15 ++++++++------- rt/share/html/Search/Schedule.html | 17 +++++++++-------- 2 files changed, 17 insertions(+), 15 deletions(-) diff --git a/rt/share/html/Elements/CalendarSlotSchedule b/rt/share/html/Elements/CalendarSlotSchedule index b82997be8..8aadf0a9a 100644 --- a/rt/share/html/Elements/CalendarSlotSchedule +++ b/rt/share/html/Elements/CalendarSlotSchedule @@ -61,13 +61,14 @@ % FS::sched_avail::pretty_time($due). % ': '. $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) -% ); +% $link = qq( view ); +%#needs higher version of rt +%# . 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; % diff --git a/rt/share/html/Search/Schedule.html b/rt/share/html/Search/Schedule.html index 0dbe8c30b..89e7cc569 100644 --- a/rt/share/html/Search/Schedule.html +++ b/rt/share/html/Search/Schedule.html @@ -205,14 +205,15 @@ if ( d == 0 ) { var title = label + - ' view ' + - <% include('/elements/popup_link.html', - action=>$RT::WebPath.'/Ticket/ModifyCustomFieldsPopup.html?id=__MAGIC_TICKET_ID__', - label =>'edit', - actionlabel => 'Edit appointment', - height => 436, # better: A + B * (num_custom_fields) - ) |n,js_string - %>; + ' view '; +%#needs higher version of RT +%# + <% include('/elements/popup_link.html', +%# action=>$RT::WebPath.'/Ticket/ModifyCustomFieldsPopup.html?id=__MAGIC_TICKET_ID__', +%# label =>'edit', +%# actionlabel => 'Edit appointment', +%# height => 436, # better: A + B * (num_custom_fields) +%# ) |n,js_string +%# %>; title = title.replace( /__MAGIC_TICKET_ID__/, ticketid ); $('#'+n_td_id).html( title ); % #(and make the top draggable, so we could do it all over again) -- 2.11.0