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-23 08:04:35 +05:30
|
|
|
<div class="content" id="IndividualDetail">
|
|
|
|
<div id="summaryarea">
|
|
|
|
<table class="infolist">
|
|
|
|
<trbody>
|
2009-11-13 11:02:33 +05:30
|
|
|
<tr>
|
2009-11-23 08:04:35 +05:30
|
|
|
<td class="ColumnAttribute">Event type:</td>
|
|
|
|
<td class="ColumnValue" id="data"> {{event.event_type|escape}}</td>
|
|
|
|
<td class="ColumnAttribute">Date:</td>
|
|
|
|
<td class="ColumnValue" id="data">{{event|display_date}}</td>
|
2009-11-13 11:02:33 +05:30
|
|
|
</tr>
|
|
|
|
<tr>
|
2009-11-23 08:04:35 +05:30
|
|
|
<td class="ColumnAttribute">Description:</td>
|
2009-12-21 03:56:45 +05:30
|
|
|
{% if user.is_authenticated %}
|
2009-11-23 08:04:35 +05:30
|
|
|
<td class="ColumnValue" id="data" colspan="3">{{event.description|escape}}</td>
|
2009-12-21 03:56:45 +05:30
|
|
|
{% else %}
|
|
|
|
<td class="ColumnValue" id="data" colspan="3">[Private]</td>
|
|
|
|
{% endif %}
|
2009-11-13 11:02:33 +05:30
|
|
|
</tr>
|
|
|
|
<tr>
|
2009-11-23 08:04:35 +05:30
|
|
|
<td class="ColumnAttribute">ID:</td>
|
|
|
|
<td class="ColumnValue" id="data" colspan="3">{{event.gramps_id|escape}}</td>
|
2009-11-13 11:02:33 +05:30
|
|
|
</tr>
|
|
|
|
<tr>
|
2009-11-23 08:04:35 +05:30
|
|
|
<td class="ColumnAttribute">Place:</td>
|
2009-12-07 05:05:46 +05:30
|
|
|
<td class="ColumnValue" id="data" colspan="3">{{event.place.title|escape}} [{{event.place.gramps_id}}]</td>
|
2009-11-13 11:02:33 +05:30
|
|
|
</tr>
|
|
|
|
</table>
|
2009-11-23 08:04:35 +05:30
|
|
|
</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-12-07 05:05:46 +05:30
|
|
|
<li class="ui-state-default ui-corner-top ui-tabs-selected ui-state-active"><a href="#tabs-sources">Sources</a></li>
|
|
|
|
<li class="ui-corner-top ui-state-default"><a href="#tabs-notes">Notes</a></li>
|
|
|
|
<li class="ui-corner-top ui-state-default"><a href="#tabs-gallery">Gallery</a></li>
|
|
|
|
<li class="ui-corner-top ui-state-default"><a href="#tabs-attributes">Attributes</a></li>
|
|
|
|
<li class="ui-corner-top ui-state-default"><a href="#tabs-references">References</a></li>
|
2009-11-13 11:02:33 +05:30
|
|
|
</ul>
|
2009-12-07 05:05:46 +05:30
|
|
|
<div class="ui-tabs-panel ui-widget-content ui-corner-bottom" id="tabs-sources">
|
|
|
|
</div>
|
2009-12-17 05:34:22 +05:30
|
|
|
<div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tabs-notes">
|
|
|
|
</div>
|
2009-12-07 05:05:46 +05:30
|
|
|
<div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tabs-gallery">
|
|
|
|
</div>
|
2009-12-17 05:34:22 +05:30
|
|
|
<div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tabs-attributes">
|
2009-12-07 05:05:46 +05:30
|
|
|
</div>
|
2009-12-17 05:34:22 +05:30
|
|
|
<div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tabs-references">
|
2009-12-07 05:05:46 +05:30
|
|
|
</div>
|
2009-11-13 11:02:33 +05:30
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
{% endblock %}
|
|
|
|
|