X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/796d33df26fa2f591a405810ae4958a26cf060a4..e8094b780ec0f30ac06b4de4c4f3a9c2bffe209d:/app/views/account/summary.rhtml?ds=inline diff --git a/app/views/account/summary.rhtml b/app/views/account/summary.rhtml index 2f24e28..e6d231f 100644 --- a/app/views/account/summary.rhtml +++ b/app/views/account/summary.rhtml @@ -1,4 +1,9 @@ -

This is your user summary profile, <%=h @user.login.capitalize %>

+
+ Account Summary + +
+ +

This is your account summary profile, <%=h @user.login.capitalize %>

E-mail: <%=h @user.email %>
@@ -6,11 +11,11 @@ Member since: <%=h @user.created_at.strftime("%x") %>

Your Elections: - +
<% Election.content_columns.each do |column| -%> <% next if column.name.eql?("viewable") || column.name.eql?("quickuser")\ - || column.name.eql?("active") %> + || column.name.eql?("active") || column.name.eql?("anonymous") %> <% end -%> @@ -26,13 +31,6 @@ Member since: <%=h @user.created_at.strftime("%x") %> <% end -%> -
<%= column.human_name %>
<%=h election.description %> - <% if election.anonymous == 0 -%> - No - <% else -%> - Yes - <% end -%> - <%=h election.startdate.strftime("%x") %> <%=h election.enddate.strftime("%x") %> @@ -48,6 +46,8 @@ Member since: <%=h @user.created_at.strftime("%x") %>

+
+

Your Quickvotes: