[Rt-commit] rt branch 5.0/add-callback-showsummary-aftercustomfields created. rt-5.0.3-78-gd3fe33f776
BPS Git Server
git at git.bestpractical.com
Thu Sep 1 15:53:46 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 d3fe33f776f62cd41f091ec4990284bd8448c280 (commit)
- Log -----------------------------------------------------------------
commit d3fe33f776f62cd41f091ec4990284bd8448c280
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..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