Name | <% if current_user.admin? then %>Certifications | <% if current_user.admin? then %>Orientation? | <% end %>Waiver? | Member? | Card? | Instructor? | Admin? | ||||
---|---|---|---|---|---|---|---|---|---|---|---|
<%= 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.waiver.blank? then raw("✓") end %> | <%= raw(user.member_status) %> | <%= unless user.cards.blank? then raw("✓") end %> | <%= if user.instructor? then raw("✓") end %> | <%= if user.admin? then raw("✓") end %> | <%= 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 %>