From 2c3fe84b9b103b4a6d79d6f75e5849c580832c02 Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Mon, 23 Nov 2009 02:34:35 +0000 Subject: [PATCH] Some work on event and source detail pages svn: r13662 --- src/data/templates/view_event_detail.html | 22 +++++-- src/data/templates/view_source_detail.html | 77 ++++++---------------- 2 files changed, 36 insertions(+), 63 deletions(-) diff --git a/src/data/templates/view_event_detail.html b/src/data/templates/view_event_detail.html index 1ca95e8ca..77af4e578 100644 --- a/src/data/templates/view_event_detail.html +++ b/src/data/templates/view_event_detail.html @@ -10,21 +10,31 @@ }); - +
+
+
+ - + + + + - + + - + + - + +
Event type: {{event.event_type|escape}}Date:{{event|display_date}}Event type: {{event.event_type|escape}}Date:{{event|display_date}}
Description:{{event.description|escape}}Description:{{event.description|escape}}
ID:{{event.gramps_id|escape}}ID:{{event.gramps_id|escape}}
Place:{{event.place.title|escape}}Place:{{event.place.title|escape}}
- + +

Tabs

diff --git a/src/data/templates/view_source_detail.html b/src/data/templates/view_source_detail.html index 5e3b094f4..d44a38b11 100644 --- a/src/data/templates/view_source_detail.html +++ b/src/data/templates/view_source_detail.html @@ -12,36 +12,29 @@
-

{{person.name_set|make_name:user}}

+

{{source.title|escape}}

- {% comment %} 5 cols {% endcomment %} +
{% comment %} 2 cols {% endcomment %} - - - - - + + - - - - + + - - - - + + - - - - - - + + + + + +
Family:{{person.name_set|preferred:"surname"}}Prefix:{{person.name_set|preferred:"prefix"}}Image:Title:{{source.title|escape}}
Given:{{person.name_set|preferred:"first_name"}}Call Name:{{person.name_set|preferred:"call"}}Author:{{source.author|escape}}
Type:{{person.name_set|preferred:"name_type"}}Patronymic:{{person.name_set|preferred:"patronymic"}}ID:{{source.gramps_id|escape}}
Gender:{{person.gender_type|escape}}ID:{{person.gramps_id|escape}}Marker:{{person.marker_type|escape}}Abbreviation:{{source.abbrev|escape}}
Public information:{{source.pubinfo|escape}}
@@ -53,51 +46,21 @@
-
- - {{ person|person_event_table:user|safe }} -
-
- {{ person|person_name_table:user|safe }} -
-
- {{ person|person_source_table:user|safe }} -
-
- {{ person|person_attribute_table:user|safe }} -
-
- {{ person|person_address_table:user|safe }} -
-
- {{ person|person_note_table:user|safe }} +
-
- {{ person|person_internet_table:user|safe }} +
-
- {{ person|person_association_table:user|safe }} -
-
- {{ person|person_lds_table:user|safe }} +
- {{ person|person_reference_table:user|safe }}