[rt-commit] [svn] r471 - in rt/branches/rt-3.1/html: Elements
Search Ticket/Elements
jesse at fsck.com
jesse at fsck.com
Thu Mar 4 17:01:12 EST 2004
Author: jesse
Date: Thu Mar 4 17:01:01 2004
New Revision: 471
Modified:
rt/branches/rt-3.1/html/Elements/TicketList
rt/branches/rt-3.1/html/Search/Edit.html
rt/branches/rt-3.1/html/Ticket/Elements/Tabs
Log:
more cleanups to search editing and ticket listing display
Modified: rt/branches/rt-3.1/html/Elements/TicketList
==============================================================================
--- rt/branches/rt-3.1/html/Elements/TicketList (original)
+++ rt/branches/rt-3.1/html/Elements/TicketList Thu Mar 4 17:01:01 2004
@@ -38,8 +38,9 @@
<& .Row, Format => \@Format, i => $i, record => $record &>
% }
</TABLE>
+<hr>
% if ($ShowNavigation) {
-<&|/l, $Page, int($TotalFound/$Rows)&>Page [_1] of [_2]</&>
+<&|/l, $Page, int($TotalFound/$Rows)+1&>Page [_1] of [_2]</&>
% if ($Page != 1) {
<A href="<%$BaseURL%>?Page=<%$Page-1%>&Rows=<%$Rows%>&Format=<%$Format%>&Query=<%$Query%>"><&|/l&>Previous Page</&></a>
% }
@@ -457,7 +458,7 @@
if ( $value && ref($value)) {
$m->out( &{ $value } ( $record, $i ) );
} else {
- $m->out($value . " HI ");
+ $m->out($value );
}
}
else {
Modified: rt/branches/rt-3.1/html/Search/Edit.html
==============================================================================
--- rt/branches/rt-3.1/html/Search/Edit.html (original)
+++ rt/branches/rt-3.1/html/Search/Edit.html Thu Mar 4 17:01:01 2004
@@ -33,9 +33,10 @@
<form method="post" action="Build.html">
<input type="hidden" name="SearchId" value="<%$SearchId%>">
-<& /Elements/MessageBox, Name => "Query", Default => $Query, Width => '100%' &>
-
-<& /Elements/MessageBox, Name => "Format", Default => $Format, Width => '100%' &>
+<textarea name="Query" rows="8" cols="72"><%$Query%></textarea>
+<br>
+<textarea name="Format" rows="8" cols="72"><%$Format%></textarea>
+<br>
<& /Elements/Submit, Label => loc("Apply"), Reset => 1, Caption => "Apply your changes"&>
</form>
Modified: rt/branches/rt-3.1/html/Ticket/Elements/Tabs
==============================================================================
--- rt/branches/rt-3.1/html/Ticket/Elements/Tabs (original)
+++ rt/branches/rt-3.1/html/Ticket/Elements/Tabs Thu Mar 4 17:01:01 2004
@@ -173,10 +173,14 @@
$tabs->{"h"} = { path => "Search/Edit.html$args",
title => loc('Advanced'),
separator => 1 };
+if ($current_tab =~ "Search/Results.html") {
$tabs->{"i"} = { path => "Search/Results.html$args",
title => loc('Show Results'),
separator => 1 };
+$current_tab = "Search/Results.html$args";
+
+}
</%INIT>
More information about the Rt-commit
mailing list