Name | <% if current_user.admin? then %>Certifications | <% if current_user.admin? then %>Orientation? | <% end %>Card? | Pmt Method | Desired Level | Last Payment | Joined | ||||
---|---|---|---|---|---|---|---|---|---|---|---|
<%= image_tag user.gravatar_url(:default => "http://members.heatsynclabs.org/assets/nil.png"), :class => :avatar %> | <%= link_to user.name, user %> | <% if current_user.admin? then %><%= user.email %> | <% end %><% user.certifications.each do |c| %> <%= link_to c.name, c %><%= "," unless c.id == user.certifications.last.id %> <% end %> | <% if current_user.admin? then %><%= unless user.orientation.blank? then raw("✓") end %> | <% end %><%= unless user.cards.blank? then raw("✓") end %> | <%= user.payment_method %> | <%= user.member_level %> | <% delinquency = user.delinquency %> <% if delinquency == 9999 %> No Payments <% else %> <%= (delinquency/30).to_s+" mo. ago" %> <% end %> | <%= user.created_at.to_date %> | <%= link_to 'Edit', edit_user_path(user) if can? :update, user %> | <%= link_to 'Destroy', user, :confirm => 'Are you sure? WARNING: THIS DOES NOT REMOVE THE USER FROM THE DOOR SYSTEM! DISABLE THEM FIRST.', :method => :delete if can? :destroy, user %> |
There's a lot more to see here, but our records show you haven't completed the new member orientation yet. If that's incorrect, please contact a volunteer.
<% end %>