2009-11-13 11:10:11 +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-13 11:10:11 +05:30
|
|
|
<thead>
|
|
|
|
<tr>
|
2009-12-06 10:39:43 +05:30
|
|
|
<th>#</th>
|
2009-11-13 11:10:11 +05:30
|
|
|
<th>ID</th>
|
|
|
|
<th>Note Type</th>
|
|
|
|
<th>Text</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
{% for note in page.object_list %}
|
|
|
|
<tr class="{% cycle odd,even %}">
|
|
|
|
<td>{{ forloop.counter|row_count:page }}</td>
|
|
|
|
<td><a href="/{{view}}/{{note.handle|escape}}" class="noThumb">
|
|
|
|
<span class="grampsid">[{{note.gramps_id}}]</span></a>
|
|
|
|
{% if user.is_authenticated %}
|
|
|
|
<td><a href="/{{view}}/{{note.handle|escape}}">{{note.note_type|escape}}</a>
|
|
|
|
<td><a href="/{{view}}/{{note.handle|escape}}">{{note.text|preview:40}}</a>
|
|
|
|
{% else %}
|
|
|
|
<td></td>
|
|
|
|
<td></td>
|
|
|
|
{% endif %}
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
{% endblock %}
|
|
|
|
|