From 2231d124a6f8dbd4bf2245e91e069b8693be74c3 Mon Sep 17 00:00:00 2001 From: Will Bradley Date: Wed, 28 Aug 2013 08:40:36 -0700 Subject: [PATCH] Style tweak and stats --- app/assets/stylesheets/application.css | 6 ++++++ app/models/user.rb | 2 +- app/views/cards/index.html.erb | 3 ++- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/app/assets/stylesheets/application.css b/app/assets/stylesheets/application.css index f8ee609..6617883 100644 --- a/app/assets/stylesheets/application.css +++ b/app/assets/stylesheets/application.css @@ -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; +} diff --git a/app/models/user.rb b/app/models/user.rb index 899ee2f..ec6875f 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -101,7 +101,7 @@ class User < ActiveRecord::Base def member_status_symbol results = member_status_calculation - return "" + return "" end def delinquency diff --git a/app/views/cards/index.html.erb b/app/views/cards/index.html.erb index 02543db..d4be43b 100644 --- a/app/views/cards/index.html.erb +++ b/app/views/cards/index.html.erb @@ -7,7 +7,7 @@ Most Active Card Last 7 Days: <%= @most_active_card.name unless @most_active_card.blank? %> (<%= @most_active_card.accesses_this_week unless @most_active_card.blank? %> times)

- +
@@ -32,6 +32,7 @@ <% if card.user.nil? %> n/a <% else %> + <%= raw(card.user.member_status_symbol) %> <%= link_to card.user.name , card %> <% end %>