<h1>General Information</h1>
<p>
  We are a free-working organization founded in 2005 which has organized various competitions for the Half-Life mod Natural Selection.
  We now primarily focus on its successor, Natural Selection 2.
</p>
<p>To contact us:</p>
<p>
  <ol>
    <li>Use the <%= link_to 'contact', new_issue_path %> form</li>
    <li>Join our official <%= link_to 'discord', 'https://discord.gg/Bvs3KjX' %></li>
    <li>Send email to the head admin as per the list below (mind that some email adresses are not shown due to privacy settings)</li>
    <li>Contact other staff members directly, check below and click profile for contact details</li>
  </ol>
</p>

<div id="staff" class="tabbed">
  <ul id="staff-nav" class="tabs">
    <li><a href="#admins">Admins</a></li>
    <li><a href="#contributors">Contributors</a></li>
    <li><a href="#referees">Referees</a></li>
    <li><a href="#casters">Casters</a></li>
    <li><a href="#gathermods">Gather Mods</a></li>
    <li><a href="#extras">Extras</a></li>
    <li><a href="#support">Support</a></li>
  </ul>
  <div class="tabbed-contents">
    <div class="tab" id="admins">
      <h3>Admins</h3>
      <table class="striped staff">
        <tr>
          <th></th>
          <th>Username</th>
          <th>Email</th>
          <th>Task</th>
          <th>Age</th>
        </tr>
        <% Group.admins.each do |grouper| %>
          <tr>
            <td class="country"><%= flag grouper.user.country_s %></td>
            <td class="username"><%= namelink grouper.user %></td>
            <% if grouper.user.public_email %>
            <td><%= h grouper.user.email_s %></td>
            <% else %>
            <td></td>
            <% end %>
            <td>
              <% if grouper.task %>
                <%= h grouper.task %>
              <% else %>
                <%= h grouper.group.name.singularize %>
              <% end %>
            </td>
            <td class="age"><%= h grouper.user.age %></td>
          </tr>
        <% end %>
      </table>
    </div>
    <div class="tab" id="contributors">
      <h3>Admins</h3>
      <table class="striped staff">
        <tr>
          <th></th>
          <th>Username</th>
          <th>Email</th>
          <th>Task</th>
          <th>Age</th>
        </tr>
        <% Group.contributors.each do |grouper| %>
          <tr>
            <td class="country"><%= flag grouper.user.country %></td>
            <td class="username"><%= namelink grouper.user %></td>
            <% if grouper.user.public_email %>
            <td><%= h grouper.user.email_s %></td>
            <% else %>
            <td></td>
            <% end %>
            <td>
              <% if grouper.task %>
                <%= h grouper.task %>
              <% else %>
                <%= h grouper.group.name.singularize %>
              <% end %>
            </td>
            <td class="age"><%= h grouper.user.age %></td>
          </tr>
        <% end %>
      </table>
    </div>
    <div class="tab" id="referees">
      <h3>Referees</h3>
      <table class="striped staff">
        <tr>
          <th></th>
          <th>Username</th>
          <th>Email</th>
          <th>Task</th>
          <th>Age</th>
        </tr>
        <% Group.referees.each do |grouper| %>
          <tr>
            <td class="country"><%= flag grouper.user.country %></td>
            <td class="username"><%= namelink grouper.user %></td>
            <% if grouper.user.public_email %>
                <td><%= h grouper.user.email_s %></td>
            <% else %>
                <td></td>
            <% end %>
            <td>
              <% if grouper.task %>
                <%= h grouper.task %>
              <% else %>
                <%= h grouper.group.name.singularize %>
              <% end %>
            </td>
            <td class="age"><%= h grouper.user.age %></td>
          </tr>
        <% end %>
      </table>
    </div>
    <div class="tab" id="casters">
      <h3>CASTERS</h3>
      <table class="striped staff">
        <tr>
          <th></th>
          <th>Username</th>
          <th>Email</th>
          <th>Task</th>
          <th>Age</th>
        </tr>
        <% Group.casters.each do |grouper| %>
          <tr>
            <td class="country"><%= flag grouper.user.country %></td>
            <td class="username"><%= namelink grouper.user %></td>
            <% if grouper.user.public_email %>
                <td><%= h grouper.user.email_s %></td>
            <% else %>
                <td></td>
            <% end %>
            <td>
              <% if grouper.task %>
                <%= h grouper.task %>
              <% else %>
                <%= h grouper.group.name.singularize %>
              <% end %>
            </td>
            <td class="age"><%= h grouper.user.age %></td>
          </tr>
        <% end %>
      </table>
    </div>
    <div class="tab" id="gathermods">
      <h3>GATHER MODERATORS</h3>
      <table class="striped staff">
        <tr>
          <th></th>
          <th>Username</th>
          <th>Email</th>
          <th>Task</th>
          <th>Age</th>
        </tr>
        <% Group.gathermods.each do |grouper| %>
            <tr>
              <td class="country"><%= flag grouper.user.country %></td>
              <td class="username"><%= namelink grouper.user %></td>
              <% if grouper.user.public_email %>
                  <td><%= h grouper.user.email_s %></td>
              <% else %>
                  <td></td>
              <% end %>
              <td>
                <% if grouper.task %>
                    <%= h grouper.task %>
                <% else %>
                    <%= h grouper.group.name.singularize %>
                <% end %>
              </td>
              <td class="age"><%= h grouper.user.age %></td>
            </tr>
        <% end %>
      </table>
    </div>
    <div class="tab" id="extras">
      <h3>Extras</h3>
      <table class="striped staff">
        <tr>
          <th></th>
          <th>Username</th>
          <th>Email</th>
          <th>Task</th>
          <th>Age</th>
        </tr>
        <% Group.extras.each do |grouper| %>
          <tr>
            <td class="country"><%= flag grouper.user.country %></td>
            <td class="username"><%= namelink grouper.user %></td>
            <% if grouper.user.public_email %>
                <td><%= h grouper.user.email_s %></td>
            <% else %>
                <td></td>
            <% end %>
            <td>
              <% if grouper.task %>
                <%= h grouper.task %>
              <% else %>
                <%= h grouper.group.name.singularize %>
              <% end %>
            </td>
            <td class="age"><%= h grouper.user.age %></td>
          </tr>
        <% end %>
      </table>
    </div>
    <div class="tab" id="support">
      <h3>Support</h3>
      <p>We cannot provide any support for the game. If you are looking for support contact the devs directly:</p>
      <ul>
        <li><b><a href="http://unknownworlds.com/">Unknown Worlds Entertainment</a></b></li>
      </ul>
    </div>
  </div>
</div>
<script type="text/javascript">
  new Yetii({
    id: 'staff'
  });
</script>