<table class="table table-striped">
  <thead>
    <tr>
      <th>#</th>
      <th>Github</th>
      <th>Points</th>
    </tr>
  </thead>
  <tbody>
    <% users.each_with_index do |u, index| %>
      <% url = "/profile/#{u[:user].github_login}" %>
      <% if u[:points] > 0 %>
        <tr>
          <td><%= index + 1 %></td>
          <td><a href="<%= url %>"><%= u[:user].github_login %></a></td>
          <td><%= u[:points] %></td>
        </tr>
      <% end %>
    <% end %>
  </tbody>
</table>

<table class="table table-striped">
  <thead>
    <tr>
      <th>#</th>
      <th>Github</th>
      <th>Points</th>
    </tr>
  </thead>
  <tbody>
    <% users.each_with_index do |u, index| %>
      <% url = "/profile/#{u[:user].github_login}" %>
      <% if u[:points] > 0 %>
        <tr>
          <td><%= index + 1 unless index > 0 && u[:points] == users[index - 1][:points] %></td>
          <td><a href="<%= url %>"><%= u[:user].github_login %></a></td>
          <td><%= u[:points] %></td>
        </tr>
      <% end %>
    <% end %>
  </tbody>
</table>

Make leaderboard show ties more equitably
Make leaderboard show ties more equitably
