{% extends "staff/base.html" %} {% load base_filters %} {% load base_tags %} {% load perm_tags %} {% load staff_tags %} {% load tagging_tags %} {% block title %} {% nowhitespace %} {{ staff.name|safe }} {% if staff.positions %} {% for position in staff.positions.all %}  – {{ staff.position }} {% endfor %} {% endif %} {% if staff.department %}  – {{ staff.department }} {% endif %} {% endnowhitespace %} {% endblock %} {% block meta_keywords %} {% nowhitespace %} staff {{ staff.name }} {% if staff.positions %} {% for position in staff.positions.all %} ,{{ position }} {% endfor %} {% endif %} {% if staff.tags %} {{ staff.tags }} {% endif %} {% endnowhitespace %} {% endblock %} {% block meta_description %} {% nowhitespace %} {{ staff.name }} {% if staff.positions %} {% for position in staff.positions.all %} ,{{ position }} {% endfor %} {% endif %} {% if staff.department %} ,{{ staff.department }} {% endif %} {{ staff.biography|striptags|truncatewords:"50"|safe }} {% endnowhitespace %} {% endblock %} {% block extra_head %} {{ block.super }} {% endblock %} {% block content %}
{% for img in staff.stafffile_set.all %} {% if img.photo_type == "featured" %}
{{ staff.name }}
{% endif %} {% endfor %}
{% spaceless %}

{{ staff.name|safe }}

{% endspaceless %} {% if staff.positions %}{% for position in staff.positions.all %}

{{ position }}

{% endfor %}{% endif %} {% if staff.department %}

{{ staff.department }}

{% endif %} {% if staff.phone or staff.email %}
{% if staff.phone %}

{% trans 'Phone' %}: {{ staff.phone }}

{% endif %} {% if staff.email %}

{% trans 'Email' %}: {{ staff.email|obfuscate_email }}

{% endif %}
{% endif %}
{% if staff.personal_sites %} {% trans 'Websites' %}: {{ staff.personal_sites|urlize }} {% endif %} {% if staff.biography %}

{{ staff.name|striptags }}'s Biography

{{ staff.biography|safe }}
{% if staff.cv %} {% endif %}
{% endif %}
{% for img in staff.stafffile_set.all %} {% if img.photo_type == "other" %} {{ staff.description }} {% endif %} {% endfor %}
{% staff_options request.user staff %}
{% endblock %} {% block extra_body %} {{ block.super }} {% endblock %}