X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=rt%2Fshare%2Fhtml%2FAdmin%2FQueues%2FScrips.html;h=69da50a24ddebc2002a2399535acbb61785a70bb;hb=187086c479a09629b7d180eec513fb7657f4e291;hp=02d91a053948341eec320300bfe23e46b886fb89;hpb=919e930aa9279b3c5cd12b593889cd6de79d67bf;p=freeside.git diff --git a/rt/share/html/Admin/Queues/Scrips.html b/rt/share/html/Admin/Queues/Scrips.html index 02d91a053..69da50a24 100755 --- a/rt/share/html/Admin/Queues/Scrips.html +++ b/rt/share/html/Admin/Queues/Scrips.html @@ -2,7 +2,7 @@ %# %# COPYRIGHT: %# -%# This software is Copyright (c) 1996-2015 Best Practical Solutions, LLC +%# This software is Copyright (c) 1996-2018 Best Practical Solutions, LLC %# %# %# (Except where explicitly superseded by other copyright notices) @@ -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 -

<&|/l&>Scrips which apply to all queues

-<& /Admin/Elements/ListGlobalScrips &> -
-% } <& /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); <%ARGS>