2014-04-19 01:12:02 +00:00
|
|
|
<table id="members" class="<%= 'short' if !comment %> striped">
|
2014-03-23 00:22:25 +00:00
|
|
|
<tr>
|
2014-04-13 11:16:51 +00:00
|
|
|
<th class="country"></th>
|
|
|
|
<th class="member">Member</th>
|
|
|
|
<th class="steamid">SteamID</th>
|
|
|
|
<th class="rank">Rank</th>
|
2014-03-23 00:22:25 +00:00
|
|
|
<% if comment %>
|
2014-04-13 11:16:51 +00:00
|
|
|
<th class="note">Comment</th>
|
2014-03-23 00:22:25 +00:00
|
|
|
<% end %>
|
2014-04-13 11:16:51 +00:00
|
|
|
<th class="joined">Joined</th>
|
2014-03-23 00:22:25 +00:00
|
|
|
</tr>
|
|
|
|
<% teamers.each do |member| %>
|
2014-04-13 11:16:51 +00:00
|
|
|
<% next if blacklist and blacklist.exists? user_id: member.user_id %>
|
2014-03-23 00:22:25 +00:00
|
|
|
<% next if member.user.nil? %>
|
2014-04-13 11:16:51 +00:00
|
|
|
<tr>
|
2014-03-23 00:22:25 +00:00
|
|
|
<td><%= flag member.user.country %></td>
|
|
|
|
<td><%= namelink member.user %></td>
|
2014-04-13 11:16:51 +00:00
|
|
|
<td><%=h member.user.steamid %></td>
|
2014-03-23 00:22:25 +00:00
|
|
|
<% if member.rank == Teamer::RANK_REMOVED %>
|
|
|
|
<td>Ex-Member</td>
|
|
|
|
<% else %>
|
|
|
|
<td><%= member.ranks[member.rank] %></td>
|
|
|
|
<% end %>
|
|
|
|
<% if comment %>
|
2014-04-13 11:16:51 +00:00
|
|
|
<td><%=h member.comment %></td>
|
2014-03-23 00:22:25 +00:00
|
|
|
<% end %>
|
2014-04-13 11:16:51 +00:00
|
|
|
<td class="joined"><%= shortdate member.created_at %></td>
|
2014-03-23 00:22:25 +00:00
|
|
|
</tr>
|
|
|
|
<% end %>
|
|
|
|
</table>
|