{% extends "base_generic.html" %}

{% block content %}
<div style="float:right;font-size: 80%;">
    {% if user.is_staff %}
        <a href={% url admin:parties_person_change person.id %}>Admin</a>
    {% endif %}
</div>
<h1>{{ person.name }}</h1>

<p>{{ person.comments }}</p>

<h3>Related Documents</h3>
{% for doc in person.related_documents.all %}
<a href="{{doc.document.url}}">{{doc.name}}</a> <br>
{% endfor %}


<div class="span-12">
<h2>Collected Objects</h2>
{% for mo in person.collected_objects.all %}

<a href="{{mo.get_absolute_url}}">{{mo.registration_number}} {{mo.artefact_type}}</a>
<br>
{% endfor %}
</div>

<div class="span-12 last">

<h2>Donated Objects</h2>
{% for mo in person.donated_objects.all %}

<a href="{{mo.get_absolute_url}}">{{mo.registration_number}} {{mo.artefact_type}}</a>
<br>
{% endfor %}
</div>



{% endblock %}

{% extends "base_generic.html" %}

{% block content %}
<div style="float:right;font-size: 80%;">
    {% if user.is_staff %}
        <a href={% url admin:parties_person_change person.id %}>Admin</a>
    {% endif %}
</div>
<h1>{{ person.display_name }}</h1>

<p>{{ person.comments }}</p>

<h3>Related Documents</h3>
{% for doc in person.related_documents.all %}
<a href="{{doc.document.url}}">{{doc.name}}</a> <br>
{% endfor %}


<div class="span-12">
<h2>Collected Objects</h2>
{% for mo in person.collected_objects.all %}

<a href="{{mo.get_absolute_url}}">{{mo.registration_number}} {{mo.artefact_type}}</a>
<br>
{% endfor %}
</div>

<div class="span-12 last">

<h2>Donated Objects</h2>
{% for mo in person.donated_objects.all %}

<a href="{{mo.get_absolute_url}}">{{mo.registration_number}} {{mo.artefact_type}}</a>
<br>
{% endfor %}
</div>



{% endblock %}

Use display name on public person page
Use display name on public person page
