Styling the members-without-cards report

This commit is contained in:
Will Bradley 2014-04-21 11:03:59 -07:00
parent 409227f2d5
commit b23de1c1a2

View File

@ -66,7 +66,7 @@
<td><%= user.member_level_string %></td> <td><%= user.member_level_string %></td>
<td><% if user.payments.present? %> <td><% if user.payments.present? %>
<% last_payment = user.payments.maximum(:date) %> <% last_payment = user.payments.maximum(:date) %>
<% if Date.today-last_payment > 60 %> <% if Date.today-last_payment > 90 %>
<span class="label label-danger"> <span class="label label-danger">
<% else %> <% else %>
<span class="label label-success"> <span class="label label-success">