[Rt-commit] r17075 - rtir/2.4/trunk/html/RTIR/Elements
ruz at bestpractical.com
ruz at bestpractical.com
Tue Dec 2 23:02:00 EST 2008
Author: ruz
Date: Tue Dec 2 23:02:00 2008
New Revision: 17075
Modified:
rtir/2.4/trunk/html/RTIR/Elements/NewReports
Log:
* use right title of the block for 'bulk reject' link,
that's the way we have other similar interfaces
Modified: rtir/2.4/trunk/html/RTIR/Elements/NewReports
==============================================================================
--- rtir/2.4/trunk/html/RTIR/Elements/NewReports (original)
+++ rtir/2.4/trunk/html/RTIR/Elements/NewReports Tue Dec 2 23:02:00 2008
@@ -23,10 +23,12 @@
%#
%# END LICENSE BLOCK
<&| /Widgets/TitleBox,
- title_href => RT->Config->Get('WebPath') ."/RTIR/Search/Results.html?$EscapedQueue\&$QueryString",
- title_class => 'inverse',
- title => $title,
- bodyclass => '',
+ title_href => RT->Config->Get('WebPath') ."/RTIR/Search/Results.html?$QueryString",
+ title_class => 'inverse',
+ title => $title,
+ titleright => loc("Bulk Reject"),
+ titleright_href => RT->Config->Get('WebPath') ."/RTIR/Report/BulkReject.html?$BulkQS",
+ bodyclass => '',
&>
<& /RTIR/Search/Elements/ShowResults,
@@ -40,18 +42,10 @@
Order => $Order,
AllowSorting => 0,
&>
-
-<a href="<% RT->Config->Get('WebPath') %>/RTIR/Report/BulkReject.html?<% $EscapedQueue %>&<% $m->comp('/Elements/QueryString',
- Query => $Query,
- OrderBy => $OrderBy,
- Order => $Order,
-) %>">[<%loc("Bulk Reject")%>]</a>
-
</&>
<%INIT>
my $title = loc("New unlinked Incident Reports...");
-my $EscapedQueue = $m->comp('/Elements/QueryString', Queue => $Queue);
unless( $Query ) {
$Query = $m->comp( '/RTIR/Elements/NewQuery', Queue => $Queue, states => [ 'new' ] );
@@ -59,6 +53,7 @@
}
my $QueryString = $m->comp('/Elements/QueryString',
+ Queue => $Queue,
Query => $Query,
Format => $Format,
Rows => $Rows,
@@ -67,6 +62,12 @@
Order => $Order,
);
+my $BulkQS = $m->comp('/Elements/QueryString',
+ Queue => $Queue,
+ Query => $Query,
+ OrderBy => $OrderBy,
+ Order => $Order,
+);
</%INIT>
More information about the Rt-commit
mailing list