[Jifty-commit] jifty branch, master, updated. 41398e146e28395a8c33f1605d6a5dce28c5c158

Jifty commits jifty-commit at lists.jifty.org
Thu Jul 15 14:40:54 EDT 2010


The branch, master has been updated
       via  41398e146e28395a8c33f1605d6a5dce28c5c158 (commit)
      from  2cf99507526c947a98b997d6a5eb6f92fdd075cc (commit)

Summary of changes:
 .../Plugin/Authentication/Password/Dispatcher.pm   |   14 ++++++++++----
 1 files changed, 10 insertions(+), 4 deletions(-)

- Log -----------------------------------------------------------------
commit 41398e146e28395a8c33f1605d6a5dce28c5c158
Author: Thomas Sibley <trs at bestpractical.com>
Date:   Thu Jul 15 14:42:11 2010 -0400

    Make the Login and Signup links tangent

diff --git a/lib/Jifty/Plugin/Authentication/Password/Dispatcher.pm b/lib/Jifty/Plugin/Authentication/Password/Dispatcher.pm
index 35b7936..91ab11c 100644
--- a/lib/Jifty/Plugin/Authentication/Password/Dispatcher.pm
+++ b/lib/Jifty/Plugin/Authentication/Password/Dispatcher.pm
@@ -134,13 +134,19 @@ Adds the login and signup links to the navigation menu.
 
 sub not_logged_in_nav {
     Jifty->web->navigation->child(
-        Login   => label => _('Login') =>
-            url => '/login',
+        'Login',
+        link => Jifty->web->tangent(
+            label => _('Login'),
+            url   => '/login'
+        ),
         sort_order => '999'
     );
     Jifty->web->navigation->child(
-        Signup  => label => _('Sign up') =>
-            url => '/signup',
+        'Signup',
+        link => Jifty->web->tangent(
+            label => _('Sign up'),
+            url   => '/signup'
+        ),
         sort_order => '950'
     );
 }

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


More information about the Jifty-commit mailing list