X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/fc0a6a8d7ea15bcdb27ebdd58721401c7045c6e0..22f84a3ea8bc39eb4cb91575d35dfca683336032:/app/views/layouts/hc.rhtml
diff --git a/app/views/layouts/hc.rhtml b/app/views/layouts/hc.rhtml
index 4daac12..13b2e72 100755
--- a/app/views/layouts/hc.rhtml
+++ b/app/views/layouts/hc.rhtml
@@ -1,9 +1,8 @@
<% %>
- <%= @page_title || "HyperChad" %>
+ <%= @page_title || "Selectricity" %>
<%= stylesheet_link_tag "hc", :media => "all" %>
- <% #engine_stylesheet 'login_engine' %>
<%= javascript_include_tag "prototype", "effects", "dragdrop", "controls" %>
@@ -12,20 +11,21 @@
<% if @page_title %>
<%= @page_title %>
<% else %>
- HyperChad
+ Selectricity
Voting Machinery for the Masses
<% end %>
<% if session[:user] %>
- Welcome <%= session[:user].login.capitalize %>
+<% breakpoint %>
+ Welcome <%= User.find(session[:user]).login.capitalize %>
<% else %>
- <%= link_to("Login",:controller => "user", :action => "login")
- %>/<%= link_to("Sign up", :controller => "user", :action => "signup")%>
+ <%= link_to("Login", :controller => "account", :action => "login")
+ %>/<%= link_to("Sign up", :controller => "account", :action => "signup")%>
<% end %> |
<% if session[:user] %>
- <%= link_to("Logout", :controller => "user", :action => "logout") %> |
+ <%= link_to("Logout", :controller => "account", :action => "logout") %> |
<% end %>
<%= link_to("Help/About", :controller => "site", :action => "about") %>
@@ -42,7 +42,8 @@