X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/796d33df26fa2f591a405810ae4958a26cf060a4..15870a550ddd18192efc71c1355a238e7c7c53e8:/app/views/account/summary.rhtml?ds=inline diff --git a/app/views/account/summary.rhtml b/app/views/account/summary.rhtml index 2f24e28..075d096 100644 --- a/app/views/account/summary.rhtml +++ b/app/views/account/summary.rhtml @@ -1,52 +1,50 @@ -
E-mail: <%=h @user.email %>
Member since: <%=h @user.created_at.strftime("%x") %>
+ <%= link_to "Update Email Address", :action => 'change_contact', + :id => @user.id %> +
+ +Your Elections: -
<%= column.human_name %> | + <% ["Name", "Description", "Details"].each do |column| -%> +<%= column %> | <% end -%>||||||||
---|---|---|---|---|---|---|---|---|---|
- <% if election.active == 1 -%> + | <%= link_to "#{election.name}", :controller => 'election', :action => 'show', :id => election %> - <% else -%> - <%=h election.name %> - <% end -%> | -<%=h election.description %> | -- <% if election.anonymous == 0 -%> - No - <% else -%> - Yes - <% end -%> + | <%=h election.description %> | +
+ Start: <%=h election.startdate.strftime("%x") %> + End: <%=h election.enddate.strftime("%x") %> + Method: <%=h ELECTION_TYPES[election.election_method] %> + Open: <%= (not election.authenticated?).to_s.capitalize %> |
- <%=h election.startdate.strftime("%x") %> | -<%=h election.enddate.strftime("%x") %> | -- <% if election.notices == 0 -%> - No - <% else -%> - Yes - <% end -%> - | -<%=h election.election_method %> | +
<%= link_to "Create a new election", :controller => 'election', :action => 'new' %>.
+ +Your Quickvotes: @@ -82,3 +80,4 @@ Your Quickvotes: <% end %>
<%= link_to( "Create a new QuickVote", :controller => 'quickvote', :action => 'create') %>.