From: Eevee <git@veekun.com>
Date: Thu, 8 Oct 2009 06:52:41 +0000 (-0700)
Subject: Front page link to current userpage should use lowercase username.
X-Git-Url: http://git.veekun.com/zzz-floof.git/commitdiff_plain/03afe6343d8d8d5547074999b85a7b2d1fe2f428

Front page link to current userpage should use lowercase username.
---

diff --git a/floof/templates/base.mako b/floof/templates/base.mako
index 38226db..e4acc6f 100644
--- a/floof/templates/base.mako
+++ b/floof/templates/base.mako
@@ -32,7 +32,7 @@ ${h.end_form()}
     <div id="user">
         % if c.user:
         <form action="${url(controller='account', action='logout')}" method="POST">
-        <p>Logged in as <a href="${h.url('user_page', name=c.user.name)}">${c.user.name}</a>.  ${h.submit(None, 'Log out')}</p>
+        <p>Logged in as <a href="${h.url('user_page', name=c.user.name.lower())}">${c.user.name}</a>.  ${h.submit(None, 'Log out')}</p>
         </form>
         % else:
         <form action="${url(controller='account', action='login_begin')}" method="POST">