[Rt-commit] rt branch, 4.0/squelching-callbacks, created. rt-4.0.8-248-g8ac2105
Kevin Falcone
falcone at bestpractical.com
Fri Dec 14 19:13:17 EST 2012
The branch, 4.0/squelching-callbacks has been created
at 8ac2105776642bb19a0f3eddf59aec5a937aedfb (commit)
- Log -----------------------------------------------------------------
commit 8ac2105776642bb19a0f3eddf59aec5a937aedfb
Author: Kevin Falcone <falcone at bestpractical.com>
Date: Fri Dec 14 16:07:57 2012 -0800
Add hooks to add more info in our Outgoing Mail boxes
This is a useful place to add in notes about what users aren't getting
mail because they've been squelched.
diff --git a/share/html/Ticket/Elements/PreviewScrips b/share/html/Ticket/Elements/PreviewScrips
index 75fbc45..92cc3a6 100644
--- a/share/html/Ticket/Elements/PreviewScrips
+++ b/share/html/Ticket/Elements/PreviewScrips
@@ -116,4 +116,6 @@ return unless $Object;
% }
% }
+% $m->callback( CallbackName => 'AfterRecipients', TicketObj => $TicketObj );
+
% $m->notes("DryRun-Recipients-".$TicketObj->Id, \%recips);
diff --git a/share/html/Ticket/Elements/ShowSimplifiedRecipients b/share/html/Ticket/Elements/ShowSimplifiedRecipients
index 590006b..3a6b73f 100644
--- a/share/html/Ticket/Elements/ShowSimplifiedRecipients
+++ b/share/html/Ticket/Elements/ShowSimplifiedRecipients
@@ -92,6 +92,7 @@ my %recips;
% }
</td></tr>
% }
+% $m->callback( CallbackName => 'AfterRecipients', TicketObj => $TicketObj );
</table>
<i>(Uncheck boxes to disable notifications to the listed
recipients. Does <b>not</b> change who will receive future
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list