[Rt-commit] rt branch, 4.0/theme-menu-placement, updated. rt-4.0.0rc6-24-g9fc6058

Kevin Falcone falcone at bestpractical.com
Thu Mar 10 18:07:15 EST 2011


The branch, 4.0/theme-menu-placement has been updated
       via  9fc6058ac7afc43b37f73158b072550cf0cc627e (commit)
      from  d63ba037043ef1ff28074216325d1293a3097f41 (commit)

Summary of changes:
 share/html/Admin/{Global => Tools}/Theme.html |    0
 share/html/Elements/Tabs                      |    2 +-
 t/web/walk.t                                  |    4 ++--
 3 files changed, 3 insertions(+), 3 deletions(-)
 rename share/html/Admin/{Global => Tools}/Theme.html (100%)

- Log -----------------------------------------------------------------
commit 9fc6058ac7afc43b37f73158b072550cf0cc627e
Author: Kevin Falcone <falcone at bestpractical.com>
Date:   Thu Mar 10 18:06:57 2011 -0500

    Move the file into Tools also and frob the tests

diff --git a/share/html/Admin/Global/Theme.html b/share/html/Admin/Tools/Theme.html
similarity index 100%
rename from share/html/Admin/Global/Theme.html
rename to share/html/Admin/Tools/Theme.html
diff --git a/share/html/Elements/Tabs b/share/html/Elements/Tabs
index b4f7e6e..f684c18 100755
--- a/share/html/Elements/Tabs
+++ b/share/html/Elements/Tabs
@@ -205,7 +205,7 @@ my $build_admin_menu = sub {
         }
         $admin_tools->child( shredder => title => loc('Shredder'), path => '/Admin/Tools/Shredder',
                              description => loc('Permanently wipeout data from RT'));
-        $admin_tools->child( theme => title => loc('Theme'), path => '/Admin/Global/Theme.html',
+        $admin_tools->child( theme => title => loc('Theme'), path => '/Admin/Tools/Theme.html',
                               description => loc('Customize the look of your RT') );
 
     if ( $request_path =~ m{^/Admin/(Queues|Users|Groups|CustomFields)} ) {
diff --git a/t/web/walk.t b/t/web/walk.t
index abdac2c..518ce5e 100644
--- a/t/web/walk.t
+++ b/t/web/walk.t
@@ -124,7 +124,7 @@ diag 'walk into /Admin' if $ENV{TEST_VERBOSE};
         $m->follow_link_ok( { text => 'Configuration' }, '-> Configuration' );
         $m->follow_link_ok( { text => 'Tools' },         '-> Tools' );
 
-        for my $tab ( 'Configuration.html', 'Shredder' ) {
+        for my $tab ( 'Configuration.html', 'Shredder', 'Theme' ) {
             $m->follow_link_ok( { url_regex => qr!/Admin/Tools/$tab! },
                 "-> /Admin/Tools/$tab" );
         }
@@ -136,7 +136,7 @@ diag 'walk into /Admin' if $ENV{TEST_VERBOSE};
         $m->follow_link_ok( { text => 'Configuration' }, '-> Configuration' );
         $m->follow_link_ok( { text => 'Global' },        '-> Global' );
 
-        for my $id ( 'group-rights', 'user-rights', 'my-rt', 'theme' )
+        for my $id ( 'group-rights', 'user-rights', 'my-rt' )
         {
             $m->follow_link_ok( { id => 'tools-config-global-' . $id }, "-> $id" );
         }

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


More information about the Rt-commit mailing list