diff options
Diffstat (limited to 'rt/share/html/Admin/Queues/Scrips.html')
-rwxr-xr-x | rt/share/html/Admin/Queues/Scrips.html | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/rt/share/html/Admin/Queues/Scrips.html b/rt/share/html/Admin/Queues/Scrips.html index 02d91a053..e179cce92 100755 --- a/rt/share/html/Admin/Queues/Scrips.html +++ b/rt/share/html/Admin/Queues/Scrips.html @@ -47,24 +47,13 @@ %# END BPS TAGGED BLOCK }}} <& /Admin/Elements/Header, Title => $title &> <& /Elements/Tabs &> - -% unless ( $QueueObj->Disabled ) { # Global scrips does not apply to disabled queues -<h2><&|/l&>Scrips which apply to all queues</&></h2> -<& /Admin/Elements/ListGlobalScrips &> -<br /> -% } <& /Admin/Elements/EditScrips, title => $title, %ARGS &> <%init> my $QueueObj = RT::Queue->new($session{'CurrentUser'}); $QueueObj->Load($id); +Abort(loc("Queue [_1] not found",$id)) unless $QueueObj->id; -my $title; - -if ($QueueObj->id) { - $title = loc("Modify scrips for queue [_1]", $QueueObj->Name); -} else { - Abort(loc("Queue [_1] not found",$id)); -} +my $title = loc("Modify scrips for queue [_1]", $QueueObj->Name); </%init> <%ARGS> |