summaryrefslogtreecommitdiff
path: root/rt
diff options
context:
space:
mode:
authorJonathan Prykop <jonathan@freeside.biz>2016-04-05 03:21:21 -0500
committerJonathan Prykop <jonathan@freeside.biz>2016-04-05 03:21:21 -0500
commit378ea151268f53f875256cdbc4eb52fbee141243 (patch)
tree39762b8745fd670b0a13a984ec1629947ec52dec /rt
parenta1c29e7275ec9b555667d982395c2403d67e81fb (diff)
Revert "RT#34237: installer scheduling [removed edit links, v3 only]"
This reverts commit 22f83589b4a605b40fd8107ee949e4921c130797.
Diffstat (limited to 'rt')
-rw-r--r--rt/share/html/Elements/CalendarSlotSchedule15
-rw-r--r--rt/share/html/Search/Schedule.html17
2 files changed, 15 insertions, 17 deletions
diff --git a/rt/share/html/Elements/CalendarSlotSchedule b/rt/share/html/Elements/CalendarSlotSchedule
index 8aadf0a9a..b82997be8 100644
--- a/rt/share/html/Elements/CalendarSlotSchedule
+++ b/rt/share/html/Elements/CalendarSlotSchedule
@@ -61,14 +61,13 @@
% FS::sched_avail::pretty_time($due).
% ': '. $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> );
-%#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)
-%# );
+% $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;
%
diff --git a/rt/share/html/Search/Schedule.html b/rt/share/html/Search/Schedule.html
index 89e7cc569..0dbe8c30b 100644
--- a/rt/share/html/Search/Schedule.html
+++ b/rt/share/html/Search/Schedule.html
@@ -205,15 +205,14 @@
if ( d == 0 ) {
var title =
label +
- ' <A HREF="<%$RT::WebPath%>/Ticket/Display.html?id=' + ticketid + '" target="_blank">view</A> ';
-%#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
-%# %>;
+ ' <A HREF="<%$RT::WebPath%>/Ticket/Display.html?id=' + ticketid + '" target="_blank">view</A> ' +
+ <% 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)