2009-12-06 10:39:43 +05:30
|
|
|
{% extends "view_page_detail.html" %}
|
|
|
|
{% load my_tags %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
$(function(){
|
|
|
|
|
|
|
|
$('#tabs').tabs();
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<div class="content" id="IndividualDetail">
|
2009-12-07 05:05:46 +05:30
|
|
|
<h3>{{name|make_name:user}}</h3>
|
2009-12-06 10:39:43 +05:30
|
|
|
<div id="summaryarea">
|
2009-12-07 05:05:46 +05:30
|
|
|
<table class="infolist"> {% comment %} 4 cols {% endcomment %}
|
2009-12-06 10:39:43 +05:30
|
|
|
<tbody>
|
|
|
|
|
|
|
|
{% if user.is_authenticated %}
|
|
|
|
<tr>
|
|
|
|
<td class="ColumnAttribute">Family:</td>
|
2009-12-07 05:05:46 +05:30
|
|
|
<td class="ColumnValue" id="data">{{name.surname}}</td>
|
2009-12-06 10:39:43 +05:30
|
|
|
<td class="ColumnAttribute">Prefix:</td>
|
2009-12-07 05:05:46 +05:30
|
|
|
<td class="ColumnValue" id="data">{{name.prefix}}</td>
|
2009-12-06 10:39:43 +05:30
|
|
|
</tr>
|
|
|
|
<td class="ColumnAttribute">Given:</td>
|
2009-12-07 05:05:46 +05:30
|
|
|
<td class="ColumnValue" id="data">{{name.first_name}}</td>
|
2009-12-06 10:39:43 +05:30
|
|
|
<td class="ColumnAttribute">Call Name:</td>
|
2009-12-07 05:05:46 +05:30
|
|
|
<td class="ColumnValue" id="data">{{name.call}}</td>
|
2009-12-06 10:39:43 +05:30
|
|
|
<tr>
|
|
|
|
</tr>
|
|
|
|
<td class="ColumnAttribute">Title:</td>
|
2009-12-07 05:05:46 +05:30
|
|
|
<td class="ColumnValue" id="data">{{name.title}}</td>
|
|
|
|
<td class="ColumnAttribute">Suffix:</td>
|
|
|
|
<td class="ColumnValue" id="data">{{name.suffix}}</td>
|
2009-12-06 10:39:43 +05:30
|
|
|
<tr>
|
2009-12-07 05:05:46 +05:30
|
|
|
<td class="ColumnAttribute">Patronymic:</td>
|
|
|
|
<td class="ColumnValue" id="data">{{name.patronymic}}</td>
|
|
|
|
<td class="ColumnAttribute">Type:</td>
|
|
|
|
<td class="ColumnValue" id="data">{{name.name_type}}</td>
|
|
|
|
</tr>
|
2009-12-06 10:39:43 +05:30
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
{% else %}
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
<td class="ColumnAttribute">Family:</td>
|
2009-12-07 05:05:46 +05:30
|
|
|
<td class="ColumnValue" id="data">{{name.surname}}</td>
|
2009-12-06 10:39:43 +05:30
|
|
|
<td class="ColumnAttribute">Prefix:</td>
|
|
|
|
<td class="ColumnValue" id="data">[Private]</td>
|
|
|
|
<tr>
|
|
|
|
<td class="ColumnAttribute">Given:</td>
|
|
|
|
<td class="ColumnValue" id="data">[Private]</td>
|
|
|
|
<td class="ColumnAttribute">Call Name:</td>
|
|
|
|
<td class="ColumnValue" id="data">[Private]</td>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
<td class="ColumnAttribute">Title:</td>
|
|
|
|
<td class="ColumnValue" id="data">[Private]</td>
|
2009-12-07 05:05:46 +05:30
|
|
|
<td class="ColumnAttribute">Suffix:</td>
|
|
|
|
<td class="ColumnValue" id="data">[Private]</td>
|
2009-12-06 10:39:43 +05:30
|
|
|
<tr>
|
2009-12-07 05:05:46 +05:30
|
|
|
<td class="ColumnAttribute">Patronymic:</td>
|
|
|
|
<td class="ColumnValue" id="data">[Private]</td>
|
|
|
|
<td class="ColumnAttribute">Type:</td>
|
|
|
|
<td class="ColumnValue" id="data">{{name.name_type}}</td>
|
2009-12-06 10:39:43 +05:30
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- 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="#tab-general">General</a></li>
|
2009-12-06 10:39:43 +05:30
|
|
|
<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-notes">Notes</a></li>
|
|
|
|
</ul>
|
2009-12-07 05:05:46 +05:30
|
|
|
<div class="ui-tabs-panel ui-widget-content ui-corner-bottom" id="tab-general">
|
2009-12-06 10:39:43 +05:30
|
|
|
</div>
|
|
|
|
<div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tab-sources">
|
|
|
|
</div>
|
|
|
|
<div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tab-notes">
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2009-12-07 05:05:46 +05:30
|
|
|
[<a href="/person/{{person.handle}}/">Back to Person Details</a>]
|
2009-12-06 10:39:43 +05:30
|
|
|
|
|
|
|
{% endblock %}
|
|
|
|
|