X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Fshare%2Fhtml%2FAdmin%2FQueues%2FScrips.html;h=e179cce9271faac70020a29a4ac46065a358bfc5;hb=14a5274c8b8cd2700d7141c8c15903bac881d46c;hp=56e44664ab235cdeacb33b53263378224c4e6c33;hpb=85e677b86fc37c54e6de2b06340351a28f5a5916;p=freeside.git diff --git a/rt/share/html/Admin/Queues/Scrips.html b/rt/share/html/Admin/Queues/Scrips.html index 56e44664a..e179cce92 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-2012 Best Practical Solutions, LLC +%# This software is Copyright (c) 1996-2015 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>