9496e097d8
svn: r19758
38 lines
994 B
HTML
38 lines
994 B
HTML
{% extends "view_page.html" %}
|
|
{% load my_tags %}
|
|
|
|
{% block table_data %}
|
|
|
|
<table cellspacing="0" class="infolist surname" width="95%">
|
|
<thead>
|
|
<tr>
|
|
<th>#</th>
|
|
<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}}{{args}}" class="noThumb browsecell">
|
|
<span class="grampsid">[{{note.gramps_id}}]</span></a>
|
|
{% if user.is_authenticated %}
|
|
<td><a href="/{{view}}/{{note.handle|escape}}{{args}}" class="browsecell">{{note.note_type|escape|nbsp}}</a>
|
|
<td><a href="/{{view}}/{{note.handle|escape}}{{args}}" class="browsecell">{{note.text|preview:70|nbsp}}</a>
|
|
{% else %}
|
|
<td></td>
|
|
<td></td>
|
|
{% endif %}
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
|
|
{% if user.is_superuser %}
|
|
{% make_button "Add Note" "/note/add" args %}
|
|
{% endif %}
|
|
{% endblock %}
|
|
|