2009-11-10 05:28:35 +00:00
|
|
|
{% extends "view_page.html" %}
|
|
|
|
{% load my_tags %}
|
|
|
|
|
|
|
|
{% block table_data %}
|
|
|
|
|
2009-12-06 05:09:43 +00:00
|
|
|
<table cellspacing="0" class="infolist surname" width="95%">
|
2009-11-10 05:28:35 +00:00
|
|
|
<thead>
|
|
|
|
<tr>
|
2009-11-19 02:41:37 +00:00
|
|
|
<th>#</th>
|
2009-11-10 05:28:35 +00:00
|
|
|
<th>Name</th>
|
|
|
|
<th>ID</th>
|
|
|
|
<th>Gender</th>
|
|
|
|
<th>Birth Date</th>
|
|
|
|
<th>Death Date</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
{% for name in page.object_list %}
|
|
|
|
<tr class="{% cycle odd,even %}">
|
2009-12-29 03:22:03 +00:00
|
|
|
{% if name.person %}
|
2012-06-04 20:58:05 +00:00
|
|
|
<td><a href="{{name.person.handle}}/{{args}}" class="noThumb browsecell">{{ forloop.counter|row_count:page }}</a>
|
2009-11-10 05:28:35 +00:00
|
|
|
</td>
|
2012-06-04 20:58:05 +00:00
|
|
|
<td><a href="{{name.person.handle}}/{{args}}" class="noThumb browsecell">{{name|make_name:user}} </a>
|
2009-11-19 02:41:37 +00:00
|
|
|
</td>
|
2012-06-04 20:58:05 +00:00
|
|
|
<td><a href="{{name.person.handle}}/{{args}}" class="grampsid browsecell">[{{name.person.gramps_id}}]</a></td>
|
|
|
|
<td><a href="{{name.person.handle}}/{{args}}" class="noThumb browsecell">{{name.person.gender_type}} </a></td>
|
|
|
|
<td><a href="{{name.person.handle}}/{{args}}" class="noThumb browsecell">{{name.person.birth|date_as_text:user}} </a></td>
|
|
|
|
<td><a href="{{name.person.handle}}/{{args}}" class="noThumb browsecell">{{name.person.death|date_as_text:user}} </a></td>
|
2009-11-10 05:28:35 +00:00
|
|
|
{% endif %}
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
|
2012-05-19 12:24:40 +00:00
|
|
|
{% if user.is_superuser %}
|
2012-06-04 20:58:05 +00:00
|
|
|
{% make_button "Add Person" "/person/add" args %}
|
2010-01-01 15:16:20 +00:00
|
|
|
{% endif %}
|
|
|
|
|
2009-11-10 05:28:35 +00:00
|
|
|
{% endblock %}
|
|
|
|
|