Skip to content
This repository has been archived by the owner on Mar 5, 2021. It is now read-only.

Commit

Permalink
Merge pull request #118 from evildmp/refactor-generic-system
Browse files Browse the repository at this point in the history
Refactor generic system
  • Loading branch information
evildmp committed Mar 20, 2014
2 parents 12ea4c8 + 8f71f3e commit 85f9d5c
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions contacts_and_people/templates/contacts_and_people/person.html
Expand Up @@ -35,6 +35,14 @@
<div class="row columns2">
<div class="column firstcolumn">
<div>
{% with placeholder_width=person_description_width %}
{% if person.description.cmsplugin_set.all %}
<h{{ IN_BODY_HEADING_LEVEL }}>
About
</h{{ IN_BODY_HEADING_LEVEL }}>
{% render_placeholder person.description %}
{% endif %}
{% endwith %}
{% if building or address or location or access_note or email or phone.all %}
<h{{ IN_BODY_HEADING_LEVEL }}>
Contact information
Expand All @@ -45,9 +53,6 @@
{% endwith %}
</dl>
{% endif %}
{% with placeholder_width=person_description_width %}
{% render_placeholder person.description %}
{% endwith %}
{% with person.links as links %}
{% include "includes/related_links_list.html" %}
{% endwith %}
Expand Down

0 comments on commit 85f9d5c

Please sign in to comment.