2009-11-13 11:02:33 +05:30
|
|
|
{% extends "view_page_detail.html" %}
|
|
|
|
{% load my_tags %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
$(function(){
|
|
|
|
|
|
|
|
$('#tabs').tabs();
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
|
2009-11-18 08:28:29 +05:30
|
|
|
<div class="content" id="IndividualDetail">
|
|
|
|
|
|
|
|
<h3>{{family.father.name_set|make_name:user}} and {{family.mother.name_set|make_name:user}}</h3>
|
|
|
|
|
|
|
|
<div id="summaryarea">
|
|
|
|
<table class="infolist"> {% comment %} 4 cols {% endcomment %}
|
|
|
|
<tbody>
|
2009-11-13 11:02:33 +05:30
|
|
|
<tr>
|
2009-11-18 08:28:29 +05:30
|
|
|
<th colspan="2">Father</th>
|
|
|
|
<th colspan="2">Mother</th>
|
2009-11-13 11:02:33 +05:30
|
|
|
</tr>
|
|
|
|
<tr>
|
2009-11-18 08:28:29 +05:30
|
|
|
<td class="ColumnAttribute">Name:</td>
|
|
|
|
<td class="ColumnValue" id="data"><a href="/person/{{family.father.handle}}">{{family.father.name_set|make_name:user}} [{{family.father.gramps_id|escape}}]</a></td>
|
|
|
|
<td class="ColumnAttribute">Name:</td>
|
|
|
|
<td class="ColumnValue" id="data"><a href="/person/{{family.mother.handle}}">{{family.mother.name_set|make_name:user}} [{{family.mother.gramps_id|escape}}]</a></td>
|
2009-11-13 11:02:33 +05:30
|
|
|
</tr>
|
2009-11-19 08:11:37 +05:30
|
|
|
{% if user.is_authenticated or not family.father.handle|probably_alive %}
|
2009-11-13 11:02:33 +05:30
|
|
|
<tr>
|
2009-11-18 08:28:29 +05:30
|
|
|
<td class="ColumnAttribute">Birth:</td>
|
|
|
|
<td class="ColumnValue" id="data">{{family.father|person_get_birth_date}}</td>
|
|
|
|
<td class="ColumnAttribute">Birth:</td>
|
|
|
|
<td class="ColumnValue" id="data">{{family.mother|person_get_birth_date}}</td>
|
2009-11-13 11:02:33 +05:30
|
|
|
</tr>
|
2009-11-19 08:11:37 +05:30
|
|
|
{% else %}
|
|
|
|
<tr>
|
|
|
|
<td class="ColumnAttribute">Birth:</td>
|
|
|
|
<td class="ColumnValue" id="data">[Private]</td>
|
|
|
|
<td class="ColumnAttribute">Birth:</td>
|
|
|
|
<td class="ColumnValue" id="data">[Private]</td>
|
|
|
|
</tr>
|
|
|
|
{% endif %}
|
2009-11-13 11:02:33 +05:30
|
|
|
<tr>
|
2009-11-18 08:28:29 +05:30
|
|
|
<td class="ColumnAttribute">Death:</td>
|
|
|
|
<td class="ColumnValue" id="data">{{family.father|person_get_death_date}}</td>
|
|
|
|
<td class="ColumnAttribute">Death:</td>
|
|
|
|
<td class="ColumnValue" id="data">{{family.mother|person_get_death_date}}</td>
|
2009-11-13 11:02:33 +05:30
|
|
|
</tr>
|
2009-11-18 08:28:29 +05:30
|
|
|
</tbody>
|
2009-11-13 11:02:33 +05:30
|
|
|
</table>
|
2009-11-18 08:28:29 +05:30
|
|
|
<table class="infolist"> {% comment %} 6 cols {% endcomment %}
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<th colspan="6">Relationship information</th>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="ColumnAttribute">ID:</td>
|
|
|
|
<td class="ColumnValue" id="data">{{family.gramps_id|escape}}</td>
|
|
|
|
<td class="ColumnAttribute">Type:</td>
|
|
|
|
<td class="ColumnValue" id="data">RELTYPE</td>
|
|
|
|
<td class="ColumnAttribute">Marker:</td>
|
|
|
|
<td class="ColumnValue" id="data">{{family.marker_type|escape}}</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|
2009-11-13 11:02:33 +05:30
|
|
|
|
|
|
|
<!-- Tabs -->
|
|
|
|
<h2 class="demoHeaders">Tabs</h2>
|
|
|
|
|
|
|
|
<div class="ui-tabs ui-widget ui-widget-content ui-corner-all" id="tabs">
|
|
|
|
<ul class="ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all">
|
2009-11-16 04:17:43 +05:30
|
|
|
<li class="ui-state-default ui-corner-top ui-tabs-selected ui-state-active"><a href="#tab-children">Children</a></li>
|
|
|
|
<li class="ui-corner-top ui-state-default"><a href="#tab-events">Events</a></li>
|
|
|
|
<li class="ui-corner-top ui-state-default"><a href="#tab-sources">Sources</a></li>
|
|
|
|
<li class="ui-corner-top ui-state-default"><a href="#tab-attributes">Attributes</a></li>
|
|
|
|
<li class="ui-corner-top ui-state-default"><a href="#tab-notes">Notes</a></li>
|
|
|
|
<li class="ui-corner-top ui-state-default"><a href="#tab-gallery">Gallery</a></li>
|
|
|
|
<li class="ui-corner-top ui-state-default"><a href="#tab-lds">LDS</a></li>
|
2009-11-13 11:02:33 +05:30
|
|
|
</ul>
|
2009-11-16 04:17:43 +05:30
|
|
|
<div class="ui-tabs-panel ui-widget-content ui-corner-bottom" id="tab-children">
|
|
|
|
<!-- Events -->
|
|
|
|
{{ family|family_children_table:user|safe }}
|
|
|
|
</div>
|
|
|
|
<div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tab-events">
|
|
|
|
{{ family|family_event_table:user|safe }}
|
|
|
|
</div>
|
|
|
|
<div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tab-sources">
|
|
|
|
{{ family|family_source_table:user|safe }}
|
|
|
|
</div>
|
|
|
|
<div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tab-attributes">
|
|
|
|
{{ family|family_attribute_table:user|safe }}
|
|
|
|
</div>
|
|
|
|
<div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tab-notes">
|
|
|
|
{{ family|family_note_table:user|safe }}
|
|
|
|
</div>
|
|
|
|
<div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tab-gallery">
|
|
|
|
{{ family|family_gallery_table:user|safe }}
|
|
|
|
</div>
|
|
|
|
<div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tab-lds">
|
|
|
|
{{ family|family_lds_table:user|safe }}
|
|
|
|
</div>
|
2009-11-13 11:02:33 +05:30
|
|
|
</div>
|
|
|
|
{% endblock %}
|
|
|
|
|