Style tweak and stats
This commit is contained in:
parent
accec4edb1
commit
2231d124a6
|
@ -46,3 +46,9 @@ box-shadow: inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05);
|
|||
cursor: pointer;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
|
||||
}
|
||||
.member-status-symbol {
|
||||
vertical-align: middle;
|
||||
}
|
||||
.lined-table td {
|
||||
border-bottom: 1px dashed black;
|
||||
}
|
||||
|
|
|
@ -101,7 +101,7 @@ class User < ActiveRecord::Base
|
|||
|
||||
def member_status_symbol
|
||||
results = member_status_calculation
|
||||
return "<img src='/#{results[:icon]}#{results[:flair]}-coin.png' title='#{results[:message]}' />"
|
||||
return "<img src='/#{results[:icon]}#{results[:flair]}-coin.png' title='#{results[:message]}' class='member-status-symbol' />"
|
||||
end
|
||||
|
||||
def delinquency
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
<b>Most Active Card Last 7 Days:</b> <%= @most_active_card.name unless @most_active_card.blank? %> (<%= @most_active_card.accesses_this_week unless @most_active_card.blank? %> times)
|
||||
</p>
|
||||
|
||||
<table>
|
||||
<table class="lined-table">
|
||||
<col />
|
||||
<col />
|
||||
<col class="col_highlight" />
|
||||
|
@ -32,6 +32,7 @@
|
|||
<% if card.user.nil? %>
|
||||
n/a
|
||||
<% else %>
|
||||
<%= raw(card.user.member_status_symbol) %>
|
||||
<%= link_to card.user.name , card %>
|
||||
<% end %>
|
||||
</td>
|
||||
|
|
Loading…
Reference in New Issue
Block a user