X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Fshare%2Fhtml%2FTicket%2FElements%2FPreviewScrips;h=60f22ca6ae9225a3e20bdc0251fa7d60bef3e9d8;hb=7322f2afedcc2f427e997d1535a503613a83f088;hp=4067c20a37595331787388690dd6e9eb1040b244;hpb=ed1f84b4e8f626245995ecda5afcf83092c153b2;p=freeside.git diff --git a/rt/share/html/Ticket/Elements/PreviewScrips b/rt/share/html/Ticket/Elements/PreviewScrips index 4067c20a3..60f22ca6a 100755 --- a/rt/share/html/Ticket/Elements/PreviewScrips +++ b/rt/share/html/Ticket/Elements/PreviewScrips @@ -2,7 +2,7 @@ %# %# COPYRIGHT: %# -%# This software is Copyright (c) 1996-2014 Best Practical Solutions, LLC +%# This software is Copyright (c) 1996-2016 Best Practical Solutions, LLC %# %# %# (Except where explicitly superseded by other copyright notices) @@ -69,7 +69,7 @@ my %squelched = ProcessTransactionSquelching( \%ARGS ); % @{$Object->Scrips->Prepared}; % for my $scrip (@scrips) { <% $scrip->Description || loc('Scrip #[_1]',$scrip->id) %>
- <&|/l, loc($scrip->ConditionObj->Name), loc($scrip->ActionObj->Name), loc($scrip->TemplateObj->Name)&>[_1] [_2] with template [_3] + <&|/l, loc($scrip->ConditionObj->Name), loc($scrip->ActionObj->Name), loc($scrip->Template)&>[_1] [_2] with template [_3]
% for my $type (qw(To Cc Bcc)) { % my @addresses = $scrip->ActionObj->Action->$type(); @@ -88,31 +88,7 @@ my %squelched = ProcessTransactionSquelching( \%ARGS ); % } % if (RT->Config->Get('PreviewScripMessages')) { - -% } -
-% } -% } - -% if ( $Object->Rules ) { -% for my $rule (@{$Object->Rules}) { -% next unless $rule->{hints} && $rule->{hints}{class} eq 'SendEmail'; - <% $rule->Describe %> -% my $data = $rule->{hints}{recipients}; -% for my $type (qw(To Cc Bcc)) { -% next unless @{$data->{$type}}; - + % }
% }