X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/607f3a343ea400e558cc47a7c6dc508f9bafcfd2..c65b1e11059c5cf510b54c785d4a246215058f70:/app/views/layouts/hc.rhtml?ds=sidebyside
diff --git a/app/views/layouts/hc.rhtml b/app/views/layouts/hc.rhtml
index 4daac12..c04eb87 100644
--- 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,28 +11,30 @@
<% if @page_title %>
<%= @page_title %>
<% else %>
- HyperChad
- Voting Machinery for the Masses
+
<% end %>
<% if session[:user] %>
- Welcome <%= session[:user].login.capitalize %>
+ 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") %>
+ <%= link_to( "Home", :controller => 'site', :action => 'index' )%>
- <% if @flash[:notice]%>
- <%= @flash[:notice] %>
+ <% if flash[:notice]%>
+ <%= flash[:notice] %>
<% end%>
@@ -42,7 +43,8 @@