2009-11-10 10:58:35 +05:30
|
|
|
{% extends "view_page.html" %}
|
|
|
|
{% load my_tags %}
|
|
|
|
|
|
|
|
{% block table_data %}
|
|
|
|
|
2009-12-06 10:39:43 +05:30
|
|
|
<table cellspacing="0" class="infolist surname" width="95%">
|
2009-11-10 10:58:35 +05:30
|
|
|
<thead>
|
|
|
|
<tr>
|
2009-11-19 08:11:37 +05:30
|
|
|
<th>#</th>
|
2009-11-10 10:58:35 +05:30
|
|
|
<th>Name</th>
|
|
|
|
<th>ID</th>
|
|
|
|
<th>Gender</th>
|
|
|
|
<th>Birth Date</th>
|
|
|
|
<!-- <td>Birth Place</td> -->
|
|
|
|
<!-- <td>Death Place</td> -->
|
|
|
|
<th>Death Date</th>
|
|
|
|
<!-- <td>Spouse</td> -->
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
{% for name in page.object_list %}
|
|
|
|
<tr class="{% cycle odd,even %}">
|
2009-12-21 03:56:45 +05:30
|
|
|
{% get_person_from_handle db name.person.handle as person %}
|
|
|
|
{% if person %}
|
|
|
|
<td><a href="{{person.handle}}/" class="noThumb">{{ forloop.counter|row_count:page }}</a>
|
2009-11-10 10:58:35 +05:30
|
|
|
</td>
|
2009-12-27 23:53:59 +05:30
|
|
|
<td><a href="{{person.handle}}/" class="noThumb">{{person|make_name:user}}</a>
|
2009-11-19 08:11:37 +05:30
|
|
|
</td>
|
2009-12-21 03:56:45 +05:30
|
|
|
<td><a href="{{person.handle}}/" class="grampsid">[{{person.gramps_id}}]</a></td>
|
|
|
|
<td><a href="{{person.handle}}/" class="noThumb">{{person.gender_type}}</a></td>
|
|
|
|
<td><a href="{{person.handle}}/" class="noThumb">{{person|person_get_birth_date|nbsp}}</a></td>
|
|
|
|
<td><a href="{{person.handle}}/" class="noThumb">{{person|person_get_death_date|nbsp}}</a></td>
|
2009-11-10 10:58:35 +05:30
|
|
|
{% endif %}
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
{% endblock %}
|
|
|
|
|