RT#34237: installer scheduling [removed edit links, v3 only]
authorJonathan Prykop <jonathan@freeside.biz>
Tue, 29 Mar 2016 00:41:52 +0000 (19:41 -0500)
committerJonathan Prykop <jonathan@freeside.biz>
Tue, 29 Mar 2016 00:41:52 +0000 (19:41 -0500)
rt/share/html/Elements/CalendarSlotSchedule
rt/share/html/Search/Schedule.html

index b82997b..8aadf0a 100644 (file)
 %                   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> ).
-%               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> );
+%#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;
 %
index 0dbe8c3..89e7cc5 100644 (file)
           if ( d == 0 ) {
             var title = 
               label +
-              ' <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
-              %>;
+              ' <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
+%#              %>;
             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)