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

BPS Git Server git at git.bestpractical.com
Wed Aug 31 17:08:42 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-aftercustomfieldcustomgroupings has been created
        at  48c76434de60fe65723a30669fe1e37fdbc58c4d (commit)

- Log -----------------------------------------------------------------
commit 48c76434de60fe65723a30669fe1e37fdbc58c4d
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, AfterCustomFieldCustomGroupings,
    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..0042729fb3 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 => 'AfterCustomFieldCustomGroupings' );
 <%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