From dd71f833fe53301a5e938436764c1ccd440127a6 Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Fri, 13 Nov 2009 05:40:11 +0000 Subject: [PATCH] Draft notes template svn: r13571 --- src/data/templates/view_notes.html | 35 ++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 src/data/templates/view_notes.html diff --git a/src/data/templates/view_notes.html b/src/data/templates/view_notes.html new file mode 100644 index 000000000..7d1856271 --- /dev/null +++ b/src/data/templates/view_notes.html @@ -0,0 +1,35 @@ +{% extends "view_page.html" %} +{% load my_tags %} + +{% block table_data %} + + + + + + + + + + + + {% for note in page.object_list %} + + + + + + {% endif %} + + {% endfor %} + +
Note #IDNote TypeText
{{ forloop.counter|row_count:page }} + [{{note.gramps_id}}] + {% if user.is_authenticated %} + {{note.note_type|escape}} + {{note.text|preview:40}} + {% else %} +
+ +{% endblock %} +