-<h2>This is your user summary profile, <%=h @user.login.capitalize %></h2>
+<h3>This is your user summary profile, <%=h @user.login.capitalize %></h3>
<p>
E-mail: <%=h @user.email %><br />
</p>
<p>Your Elections:
- <table class="voterbox">
+ <table class="voterbox" id="election">
<tr>
<% 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") %>
<th><%= column.human_name %></th>
<% end -%>
</tr>
<% end -%>
</td>
<td><%=h election.description %></td>
- <td>
- <% if election.anonymous == 0 -%>
- No
- <% else -%>
- Yes
- <% end -%>
- </td>
<td><%=h election.startdate.strftime("%x") %></td>
<td><%=h election.enddate.strftime("%x") %></td>
<td>
</table>
</p>
+<br />
+
<p>
Your Quickvotes:
<table class="voterbox">
padding-left: 5px;
}
+/* voterbox#election is used on user summary page */
+.voterbox#election { border-color: #990d13; }
+
+.voterbox#election th {
+ background-color: #dc0d13;
+ border-color: #dc0d13;
+}
+
+.voterbox#election td { border-color: #990d13;}
+
+
.rbmoreinfo hr {
width: 100%;
height: 10px;