[Rt-commit] rt branch, 4.0/loc-cleanups, updated. rt-4.0.1rc1-9-ga86764e

Shawn Moore sartak at bestpractical.com
Mon May 23 18:10:51 EDT 2011


The branch, 4.0/loc-cleanups has been updated
       via  a86764ed3da14ee3d288b13335c6295bafbfa165 (commit)
      from  fb6e91940bc6a62204cab2adcadc07eab0aec23b (commit)

Summary of changes:
 share/html/Search/Simple.html |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

- Log -----------------------------------------------------------------
commit a86764ed3da14ee3d288b13335c6295bafbfa165
Author: Shawn M Moore <sartak at bestpractical.com>
Date:   Mon May 23 18:09:55 2011 -0400

    Factor out the search builder link tags

diff --git a/share/html/Search/Simple.html b/share/html/Search/Simple.html
index 1e72ea5..a4365da 100644
--- a/share/html/Search/Simple.html
+++ b/share/html/Search/Simple.html
@@ -68,7 +68,9 @@
 <p><&|/l&>RT will look for anything else you enter in ticket subjects.</&></p>
 
 % my $status_str = join ', ', map { loc($_) } RT::Queue->ActiveStatusArray;
-<p><&|/l, $status_str&>Please note that only tickets with one of these statuses( [_1] ) are displayed here. For more powerful searches please visit the <a href="<%RT->Config->Get('WebPath')%>/Search/Build.html">search builder interface</a>.</&></p>
+% my $link_start = '<a href="' . RT->Config->Get('WebPath') . '/Search/Build.html">';
+% my $link_end = '</a>';
+<p><&|/l, $status_str, $link_start, $link_end &>Please note that only tickets with one of these statuses( [_1] ) are displayed here. For more powerful searches please visit the [_2]search builder interface[_3].</&></p>
 
 <br />
 <br />

-----------------------------------------------------------------------


More information about the Rt-commit mailing list