[Rt-commit] rt branch 5.0/add-callback-showsummary-aftercustomfields created. rt-5.0.3-78-gd1381471b6

BPS Git Server git at git.bestpractical.com
Thu Sep 1 23:01:34 UTC 2022


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "rt".

The branch, 5.0/add-callback-showsummary-aftercustomfields has been created
        at  d1381471b6f8e9f9bfd121f4b0d1f07548c527fb (commit)

- Log -----------------------------------------------------------------
commit d1381471b6f8e9f9bfd121f4b0d1f07548c527fb
Author: Brian Conry <bconry at bestpractical.com>
Date:   Wed Aug 31 11:42:40 2022 -0500

    Add callback to /Ticket/Elements/ShowSummary
    
    This change adds a new callback, AfterCustomFields, between the
    inclusion of /Elements/ShowCustomFieldCustomGroupings and the inclusion
    of /Ticket/Elements/ShowPeople, so that extensions and local
    cusomizations can place content there.

diff --git a/share/html/Ticket/Elements/ShowSummary b/share/html/Ticket/Elements/ShowSummary
index c929833660..103fd28d3a 100644
--- a/share/html/Ticket/Elements/ShowSummary
+++ b/share/html/Ticket/Elements/ShowSummary
@@ -92,7 +92,7 @@ my $modify_behavior = $InlineEdit ? ($inline_edit_behavior{Basics} || $inline_ed
         title_href   => ($can_modify || $can_modify_cf) ? RT->Config->Get('WebPath')."/Ticket/Modify.html" : "",
         InlineEdit   => ($can_modify || $can_modify_cf) ? $InlineEdit : 0,
         &>
-
+% $m->callback( %ARGS, CallbackName => 'AfterCustomFields' );
 <%PERL>
 my $people_url = RT->Config->Get('WebPath')."/Ticket/ModifyPeople.html?id=".$Ticket->Id;
 my $people_inline = sprintf( $modify_inline, $m->interp->apply_escapes( $people_url, 'h' ) );

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


hooks/post-receive
-- 
rt


More information about the rt-commit mailing list