[freeside-commits] branch FREESIDE_3_BRANCH updated. 22f83589b4a605b40fd8107ee949e4921c130797

Jonathan Prykop jonathan at 420.am
Mon Mar 28 17:42:06 PDT 2016


The branch, FREESIDE_3_BRANCH has been updated
       via  22f83589b4a605b40fd8107ee949e4921c130797 (commit)
      from  a003b8c5b495cdcd0d79440a5613bcbcca17035e (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 22f83589b4a605b40fd8107ee949e4921c130797
Author: Jonathan Prykop <jonathan at freeside.biz>
Date:   Mon Mar 28 19:41:52 2016 -0500

    RT#34237: installer scheduling [removed edit links, v3 only]

diff --git a/rt/share/html/Elements/CalendarSlotSchedule b/rt/share/html/Elements/CalendarSlotSchedule
index b82997b..8aadf0a 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( <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;
 %
diff --git a/rt/share/html/Search/Schedule.html b/rt/share/html/Search/Schedule.html
index 0dbe8c3..89e7cc5 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 +
-              ' <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)

-----------------------------------------------------------------------

Summary of changes:
 rt/share/html/Elements/CalendarSlotSchedule |   15 ++++++++-------
 rt/share/html/Search/Schedule.html          |   17 +++++++++--------
 2 files changed, 17 insertions(+), 15 deletions(-)




More information about the freeside-commits mailing list