HeatSync People

<% if can? :create, User %> <%= link_to 'New User', new_user_path, class: "btn btn-success" %> <% end %> <% if can? :manage, User %> <%= link_to 'Merge Users', users_merge_path, class: "btn btn-primary" %> <% end %> <% if current_user.admin? %> <%= link_to 'Inactive Users', users_inactive_path, class: "btn btn-default" %> <% end %> <% if can? :activity, User %> <%= link_to 'Recent Activity', users_activity_path, class: "btn btn-default" %> <% end %> <% if can? :new_member_report, User %> <%= link_to 'New Members Report', users_new_member_report_path, class: "btn btn-default" %> <% end %>

<% @certifications = Certification.all.sort_by(&:id) %> <% if current_user.admin? then %><% end %> <% if current_user.admin? %><% end %> <% col_count = 0 %> <% @certifications.each do |c| %> class="col_highlight"<% end %> /> <% col_count = col_count + 1 %> <% end %> <% if current_user.admin? then %><% end %> <% if current_user.admin? then %> <% end %> <% if current_user.admin? then %><% end %> <% @certifications.each do |c| %> <% end %> <% if !@users.blank? %> <% @users.each do |user| %> > <% if current_user.admin? then %><% end %> <% if current_user.admin? then %><% end %> <% if current_user.admin? then %><% end %> <% @certifications.each do |c| %> <% end %> <% end %> <% end %>
Name Member?EmailOrientation?Waiver? Card? Instructor?Admin?<%= c.name %>
<%= image_tag user.gravatar_url(:size => 25, :default => "http://members.heatsynclabs.org/assets/nil.png"), :class => :avatar %> <%= link_to user.name, user %> <%= raw(user.member_status_symbol) %><%= user.email %> <%= unless user.orientation.blank? then raw("") end %> <%= unless user.contracts.blank? then raw("") end %> <%= unless user.cards.blank? then raw("") end %> <%= if user.instructor? then raw("✓") end %><%= if user.admin? then raw("✓") end %> <% user.user_certifications.each do |u| %> <% if u.certification_id == c.id %> <%= link_to raw(""), u %> <% end %> <% end %>
<% if current_user.orientation.blank? then %>

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 %>