{% extends "view_page.html" %}
{% load my_tags %}

{% block table_data %} 

<table cellspacing="0" class="infolist surname" width="95%">

<thead>
  <tr>
    <th>#</th>
    <th>Report Name</th>
    <th></th>
    <th></th>
  </tr>
</thead>
<tbody>
  {% for report in page.object_list %}
  <tr class="{% cycle odd,even %}">
    <td>{{ forloop.counter|row_count:page }}</td>
    <td><a href="/{{view}}/{{report.handle|escape}}" class="noThumb browsecell">
           <span class="grampsid">{{report.name}}</span></a>
    {% if user.is_authenticated %}
      <td></td>
      <td></td>
    {% else %}
      <td></td>
      <td></td>
    {% endif %}
  </tr>
  {% endfor %}
</tbody>
</table>

{% endblock %}