[Rt-commit] rt branch, admin_ui, updated. 104f25d47e26d5b8025e5c84dbe3f9f2cbac491e

sunnavy at bestpractical.com sunnavy at bestpractical.com
Sun Jan 17 02:53:57 EST 2010


The branch, admin_ui has been updated
       via  104f25d47e26d5b8025e5c84dbe3f9f2cbac491e (commit)
      from  baecc5e6544cc92c80bfe99f168a49012a5a90fb (commit)

Summary of changes:
 lib/RT/Dispatcher.pm |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

- Log -----------------------------------------------------------------
commit 104f25d47e26d5b8025e5c84dbe3f9f2cbac491e
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Sun Jan 17 15:53:48 2010 +0800

    add Select and Mappings page_nav for workflows

diff --git a/lib/RT/Dispatcher.pm b/lib/RT/Dispatcher.pm
index 9c6399c..f35e0d3 100644
--- a/lib/RT/Dispatcher.pm
+++ b/lib/RT/Dispatcher.pm
@@ -588,9 +588,11 @@ before 'admin/custom_fields/' => run {
 };
 
 before 'admin/global/workflows' => run {
+    my $base = '/admin/global/workflows';
+    page_nav->child( _('Select'), url => $base );
+    page_nav->child( _('Mappings'), url => "$base/mappings" );
     if ( my $id = Jifty->web->request->argument('name') ) {
 
-        my $base = '/admin/global/workflows';
 
         my $schema = RT::Workflow->new->load($id);
 

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


More information about the Rt-commit mailing list