Allowed for the results page of quickvotes to be hidden while the quickvote is go
[selectricity] / app / views / layouts / main.rhtml
index 0b9d5cb9d5f2a18494ff4392da386561273525e2..027ef145567213b95a8406ffc5450a8467c44588 100644 (file)
            <div id="links">
              <% if session[:user] %>
                Welcome <strong><%= User.find(session[:user]).login.capitalize %></strong>
+               <%= link_to("Logout", :controller => "account", :action => "logout") %>  |
              <% else %>
                <%= link_to("Login", :controller => "account", :action => "login")
                 %>/<%= link_to("Sign up", :controller => "account", :action => "signup")%>
              <% end %> |
-         
-             <% if session[:user] %>
-               <%= link_to("Logout", :controller => "account", :action => "logout") %>  |
-             <% end %>
              
             <%= link_to("Help/About", :controller => "site", :action => "about") %>
            </div>

Benjamin Mako Hill || Want to submit a patch?