[Rt-commit] rt branch, admin_ui, updated. 21e5e6c233124fb360c4d7748804c8b3b5c6b93d

sunnavy at bestpractical.com sunnavy at bestpractical.com
Thu Jan 14 01:03:33 EST 2010


The branch, admin_ui has been updated
       via  21e5e6c233124fb360c4d7748804c8b3b5c6b93d (commit)
      from  e953929ef14c7b241a50e2ac066f56a8a814db9f (commit)

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

- Log -----------------------------------------------------------------
commit 21e5e6c233124fb360c4d7748804c8b3b5c6b93d
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Thu Jan 14 14:03:26 2010 +0800

    tweak templates url

diff --git a/lib/RT/Dispatcher.pm b/lib/RT/Dispatcher.pm
index d6cbd45..c976f2c 100644
--- a/lib/RT/Dispatcher.pm
+++ b/lib/RT/Dispatcher.pm
@@ -233,7 +233,7 @@ before qr{.*} => run {
 
         my $admin_global = $admin->child( _('Global'), url => '/admin/global/', );
 
-        $admin_global->child( _('Templates'), url => '/admin/global/templates', );
+        $admin_global->child( _('Templates'), url => '/admin/global/templates/', );
         my $workflows = $admin_global->child( _('Workflows'), url => '/admin/global/workflows/index.html', );
         {
             $workflows->child( _('Overview')     => url => "/admin/global/workflows/index.html" );
@@ -488,7 +488,7 @@ before 'admin/queues' => run {
         $queue->child( _('Basics'),    url => "/admin/queues/edit?id=" . $id );
 
         # because Templates have their own ids, let's use queue parameter here
-        $queue->child( _('Templates'), url => "/admin/queues/templates?queue=" . $id );
+        $queue->child( _('Templates'), url => "/admin/queues/templates/?queue=" . $id );
 
         $queue->child( _('Ticket Custom Fields'),
             url =>
diff --git a/lib/RT/View/Admin/Global.pm b/lib/RT/View/Admin/Global.pm
index 257f4fb..f9a34e7 100644
--- a/lib/RT/View/Admin/Global.pm
+++ b/lib/RT/View/Admin/Global.pm
@@ -62,7 +62,7 @@ template 'index.html' => page { title => _('Global Configuration') } content {
         B => {
             title => _('Templates'),
             text  => _('Edit system templates'),
-            path  => '/admin/global/templates',
+            path  => '/admin/global/templates/',
         },
         C => {
             title => _('Workflows'),

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


More information about the Rt-commit mailing list