2009-11-10 10:58:35 +05:30
|
|
|
{% extends "view_page.html" %}
|
|
|
|
{% load my_tags %}
|
|
|
|
|
|
|
|
{% block table_data %}
|
|
|
|
|
|
|
|
<table cellspacing="0" class="infolist surname">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
2009-11-13 11:02:33 +05:30
|
|
|
<th>Event #</th>
|
2009-11-10 10:58:35 +05:30
|
|
|
<th>ID</th>
|
2009-11-13 11:02:33 +05:30
|
|
|
<th>Event Type</th>
|
|
|
|
<th>Description</th>
|
|
|
|
<th>Date</th>
|
|
|
|
<th>Place</th>
|
2009-11-10 10:58:35 +05:30
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
2009-11-13 11:02:33 +05:30
|
|
|
{% for event in page.object_list %}
|
2009-11-10 10:58:35 +05:30
|
|
|
<tr class="{% cycle odd,even %}">
|
|
|
|
<td>{{ forloop.counter|row_count:page }}</td>
|
2009-11-13 11:02:33 +05:30
|
|
|
<td><a href="/{{view}}/{{event.handle|escape}}" class="noThumb">
|
|
|
|
<span class="grampsid">[{{event.gramps_id}}]</span></a>
|
2009-11-10 10:58:35 +05:30
|
|
|
{% if user.is_authenticated %}
|
2009-11-13 11:02:33 +05:30
|
|
|
<td><a href="/{{view}}/{{event.handle|escape}}">{{event.event_type|escape}}</a>
|
|
|
|
<td><a href="/{{view}}/{{event.handle|escape}}">{{event.description|escape}}</a>
|
|
|
|
<td><a href="/{{view}}/{{event.handle|escape}}">{{event|display_date}}</a>
|
|
|
|
<td><a href="/{{view}}/{{event.handle|escape}}">{{event.place.title|escape}}</a>
|
2009-11-10 10:58:35 +05:30
|
|
|
{% else %}
|
2009-11-13 11:02:33 +05:30
|
|
|
<td></td>
|
|
|
|
<td></td>
|
|
|
|
<td></td>
|
2009-11-10 10:58:35 +05:30
|
|
|
{% endif %}
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
{% endblock %}
|
|
|
|
|