[Rt-commit] rt branch, 4.0/global-scrips-in-queue-page-fix, created. rt-4.0.1rc1-5-gbba3baa
? sunnavy
sunnavy at bestpractical.com
Tue May 31 07:47:09 EDT 2011
The branch, 4.0/global-scrips-in-queue-page-fix has been created
at bba3baa07423b65ee04ba5d12a65d5cb795e6dbf (commit)
- Log -----------------------------------------------------------------
commit bba3baa07423b65ee04ba5d12a65d5cb795e6dbf
Author: sunnavy <sunnavy at bestpractical.com>
Date: Tue May 31 19:33:30 2011 +0800
show more info of global scrips in queue page to make admin happy
good to be consistent with config %AdminSearchResultFormat
diff --git a/share/html/Admin/Elements/ListGlobalScrips b/share/html/Admin/Elements/ListGlobalScrips
index 7f1039e..813691c 100755
--- a/share/html/Admin/Elements/ListGlobalScrips
+++ b/share/html/Admin/Elements/ListGlobalScrips
@@ -56,15 +56,12 @@
%ARGS,
Format => $Format,
Collection => $Scrips,
- ShowHeader => 0,
&>
% }
<%init>
-my $Format = q{'<a href="__WebPath__/Admin/Global/Scrip.html?id=__id__&Queue=0">__id__</a>/TITLE:#'}
- .q{,'<a href="__WebPath__/Admin/Global/Scrip.html?id=__id__&Queue=0">__AutoDescription__</a>/TITLE:Condition, Action and Template'}
- .q{__NEWLINE__,'','<small>__Description__</small>'};
+my $Format = RT->Config->Get('AdminSearchResultFormat')->{'Scrips'};
my $Scrips = RT::Scrips->new( $session{'CurrentUser'} );
$Scrips->LimitToGlobal;
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list