diff options
author | Ivan Kohler <ivan@freeside.biz> | 2015-07-09 22:32:26 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2015-07-09 22:32:26 -0700 |
commit | 026dc7ad72ba972f230b6709e31fa64397d75ad4 (patch) | |
tree | c5af1a7ac9154744afc3660e9a9405892f2bb50b /rt/share/html/Ticket/Elements/ShowSimplifiedRecipients | |
parent | 07b4bc84d1078f7390221d766cdb3142513db4b0 (diff) | |
parent | 1c538bfabc2cd31f27067505f0c3d1a46cba6ef0 (diff) |
merge RT 4.2.11 and Header changes to disable RT javascript, RT#34237
Diffstat (limited to 'rt/share/html/Ticket/Elements/ShowSimplifiedRecipients')
-rw-r--r-- | rt/share/html/Ticket/Elements/ShowSimplifiedRecipients | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/rt/share/html/Ticket/Elements/ShowSimplifiedRecipients b/rt/share/html/Ticket/Elements/ShowSimplifiedRecipients index 73c1fd9d2..2f0745688 100644 --- a/rt/share/html/Ticket/Elements/ShowSimplifiedRecipients +++ b/rt/share/html/Ticket/Elements/ShowSimplifiedRecipients @@ -64,14 +64,6 @@ if ($Object->Scrips) { } } } -if ($Object->Rules) { - for my $rule (grep {$_->{hints} and $_->{hints}{class} eq "SendEmail"} @{$Object->Rules}) { - for my $type (qw(To Cc Bcc)) { - $headers{$type}{$_} ||= @{[Email::Address->parse($_)]}[0] # Hate list context - for @{$rule->{hints}{recipients}{$type}}; - } - } -} my %recips; my %squelched = ProcessTransactionSquelching( \%ARGS ); </%init> @@ -95,8 +87,9 @@ my %squelched = ProcessTransactionSquelching( \%ARGS ); % } % $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 -updates.)</i> +<p> +<&|/l, RT->Config->Get('WebPath')."/Ticket/ModifyPeople.html?id=".$TicketObj->Id, +&>Uncheck boxes to disable notifications to the listed recipients <b>for this transaction only</b>; persistent squelching is managed on the <a href="[_1]">People page</a>.</&> +</p> </&> % $m->notes("DryRun-Recipients-".$TicketObj->Id, \%recips); |