]> projects.mako.cc - selectricity-live/blobdiff - app/views/layouts/frontpage.rhtml
elections marked as viewable will now dispaly a link to their results page while...
[selectricity-live] / app / views / layouts / frontpage.rhtml
index e227e87daa23197727934e876a87659c6ccae207..0b6067f837c2d6ce6ca5c3b702981aee5bc7aa57 100644 (file)
     <div id="header">
       <div id="top-bar">
        <% if session[:user]%>
-       <%= link_to User.find(session[:user]).login.capitalize,
+       <%= link_to User.find(session[:user]).login.downcase,
                   :controller => "account",
                   :action => "summary", :id => session[:user][:id] %>
-       &nbsp;&nbsp;<%= link_to( 'Log out', :controller => 'account', 
+       &nbsp;&nbsp;<%= link_to( 'log out', :controller => 'account', 
                        :action => 'logout' )%>
        <% else %>
       <%= link_to("login", :controller => "account", :action => "login")
       %>
-      &nbsp;&nbsp;<%= link_to "sign up", :controller => "account", 
-                                :action => "signup" %>
+      <!--&nbsp;&nbsp;<%= link_to "sign up", :controller => "account", 
+                                :action => "signup" %> -->
     <% end -%>
       &nbsp;&nbsp;<%= link_to "help/about", :controller => 'about' %>
       </div>

Benjamin Mako Hill || Want to submit a patch?