[Rt-commit] rt branch, admin_ui, updated. 2791d164abb3dc160f699394b7bfebd9d5da883f

sunnavy at bestpractical.com sunnavy at bestpractical.com
Thu Jan 21 00:17:00 EST 2010


The branch, admin_ui has been updated
       via  2791d164abb3dc160f699394b7bfebd9d5da883f (commit)
      from  cfdd7080867c73d87cd3e0587bdc99534a8833a6 (commit)

Summary of changes:
 lib/RT/View/Prefs.pm |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)

- Log -----------------------------------------------------------------
commit 2791d164abb3dc160f699394b7bfebd9d5da883f
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Thu Jan 21 13:16:53 2010 +0800

    /prefs/quick_search view

diff --git a/lib/RT/View/Prefs.pm b/lib/RT/View/Prefs.pm
index 605be59..622cd45 100644
--- a/lib/RT/View/Prefs.pm
+++ b/lib/RT/View/Prefs.pm
@@ -147,5 +147,19 @@ template 'my_rt' => page { title => _('Customize my RT') } content {
 
 };
 
+template 'quick_search' => page { title => _('Customize Quick Search') } content {
+    my $self = shift;
+    my $moniker = 'prefs_edit_quick_search';
+    my $action = new_action(
+        class   => 'EditUserPrefsQuickSearch',
+        moniker => $moniker,
+    );
+
+    with( name => $moniker ), form {
+        render_action($action);
+        form_submit( label => _('Save') );
+    };
+};
+
 1;
 

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


More information about the Rt-commit mailing list