[Rt-commit] rt branch, 3.999-trunk, updated. 39d06f60d6edf6a2c77792d23156eff183d2bd05
jesse
jesse at bestpractical.com
Thu Nov 19 11:14:34 EST 2009
The branch, 3.999-trunk has been updated
via 39d06f60d6edf6a2c77792d23156eff183d2bd05 (commit)
from a33a91c8459fc0657b4e43dfb315cb011b379762 (commit)
Summary of changes:
lib/RT/Dispatcher.pm | 13 ++++---------
share/html/Elements/Header | 2 +-
2 files changed, 5 insertions(+), 10 deletions(-)
- Log -----------------------------------------------------------------
commit 39d06f60d6edf6a2c77792d23156eff183d2bd05
Author: Jesse Vincent <jesse at bestpractical.com>
Date: Thu Nov 19 11:14:20 2009 -0500
Closer to right code, even though it doesn't actually work yet.
diff --git a/lib/RT/Dispatcher.pm b/lib/RT/Dispatcher.pm
index 2a37fb6..2a3b091 100644
--- a/lib/RT/Dispatcher.pm
+++ b/lib/RT/Dispatcher.pm
@@ -285,16 +285,11 @@ before qr{.*} => run {
- my $create_ticket = show('/Elements/CreateTicket');
- main_nav->child( 'search' => label => $create_ticket, escape_label =>0);
-
-
- main_nav->child( 'search' => label => '<form action="/" method="get" id="simple-search">
- <input size="12" name="q" autocomplete="off" accesskey="0" class="field" />
- <input type="submit" class="button" value="'. _('Search') .'" /></form>',
- escape_label =>0);
-
+ #my $create_ticket = Jifty->web->render_template('/Elements/CreateTicket');
+ #main_nav->child( 'create' => label => $create_ticket, escape_label =>0);
+ #my $search = Jifty->web->render_template('/Elements/SimpleSearch');
+ #main_nav->child( 'search' => label => $search, escape_label =>0);
};
before qr'Dashboards/?' => run {
diff --git a/share/html/Elements/Header b/share/html/Elements/Header
index 0cc0ea0..773b6d6 100755
--- a/share/html/Elements/Header
+++ b/share/html/Elements/Header
@@ -102,7 +102,7 @@
</div>
% if ( Jifty->web->current_user->user_object) {
-<div id="nav-widgets"><& /Elements/CreateTicket &>
+<div id="nav-widgets">
</div>
%}
<div class="nav">
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list