{% load rowerfilters %}
<div class="grid_2 alpha">
  <p>
    <a class="button gray small" href="/rowers/list-workouts/team/{{ teamid }}/">Team Workouts</a>
  </p>
</div>
<div class="grid_2">
  <p>
    <a class="button gray small" href="/rowers/team-compare-select/team/{{ teamid }}/">Multi Compare</a>
  </p>
</div>
<div class="grid_2">
  <p>
    <a class="button gray small" href="/rowers/team/{{ teamid }}/">Team Page</a>
  </p>
</div>
<div class="grid_2">
  {% if user|is_manager and user|has_teams %}
  <p>
    <a class="button gray small" href="/rowers/workout/upload/team/">Upload Workout</a>
  </p>
  {% else %}
  <p>&nbsp;</p>
  {% endif %}
</div>
<div class="grid_2 omega">
  {% if team and team.manager == user %}
  <p>
    <a class="button gray small" href="/rowers/team/{{ teamid }}/memberstats">
      Team Stats
    </a>
  </p>
  {% else %}
  &nbsp;
  {% endif %}
</div>
