[debexpo/master] Fix debexpo login links

Paul Wise pabs at debian.org
Wed Nov 5 18:34:20 CET 2008


This fixes the links to the login page, they are broken on the register
pages right now as they point to /register/login instead of /login.

Signed-off-by: Jonny Lamb <jonny at debian.org>
---
 debexpo/templates/base.mako |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/debexpo/templates/base.mako b/debexpo/templates/base.mako
index 7add54e..570ef15 100644
--- a/debexpo/templates/base.mako
+++ b/debexpo/templates/base.mako
@@ -59,7 +59,7 @@
                 </li>
                 <li>${ h.tags.link_to(
                         _('Login'),
-                        h.url_for('login')) }
+                        h.url_for('/login')) }
                 </li>
                 % endif
                 % if session.get('user_type') in (h.constants.USER_STATUS_MAINTAINER, h.constants.USER_STATUS_NORMAL):
@@ -89,7 +89,7 @@
                 </li>
                 <li>${ h.tags.link_to(
                         _('Login'),
-                        h.url_for('login')) }
+                        h.url_for('/login')) }
                 </li>
                 % endif
                 % if session.get('user_type') == h.constants.USER_STATUS_DEVELOPER:
-- 
1.5.6.5



More information about the debexpo-commits mailing list