summaryrefslogtreecommitdiff
path: root/rt/share
diff options
context:
space:
mode:
Diffstat (limited to 'rt/share')
-rw-r--r--rt/share/html/Elements/CalendarSlotSchedule4
-rw-r--r--rt/share/html/Search/Schedule.html2
2 files changed, 4 insertions, 2 deletions
diff --git a/rt/share/html/Elements/CalendarSlotSchedule b/rt/share/html/Elements/CalendarSlotSchedule
index 943c8baac..4ff47670a 100644
--- a/rt/share/html/Elements/CalendarSlotSchedule
+++ b/rt/share/html/Elements/CalendarSlotSchedule
@@ -20,6 +20,7 @@
%
% my $bgcolor = '666666;border-color:#555555';
% my $content = '';
+% my $link = '';
% my $selectable = 0;
% my $draggable_ticketid = 0;
% my $draggable_length = 0;
@@ -60,6 +61,7 @@
% 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">view</A>);
% $draggable_ticketid = $id;
% $draggable_length = $due - $starts;
%
@@ -128,7 +130,7 @@
% }
%
% }
- ><% $content |h %></td>
+ ><% $content |h %><% $link |n %></td>
<SCRIPT TYPE="text/javascript">
$('#<% $td_id %>').data('username', "<% $username %>");
diff --git a/rt/share/html/Search/Schedule.html b/rt/share/html/Search/Schedule.html
index 726b5cc2d..f021df702 100644
--- a/rt/share/html/Search/Schedule.html
+++ b/rt/share/html/Search/Schedule.html
@@ -175,7 +175,7 @@
% #remove their droppable
$('#'+n_td_id).droppable('destroy');
if ( d == 0 ) {
- $('#'+n_td_id).text(label);
+ $('#'+n_td_id).html(label + ' <A HREF="<%$RT::WebPath%>/Ticket/Display.html?id=' + ticketid + '">view</A>' );
% #(and make the top draggable, so we could do it all over again)
$('#'+n_td_id).draggable({
containment: '.titlebox-content',