{% extends "base.html" %} {% block title %} {{ department.name }} {% endblock title %} {% block content %}
{% for faxnumber in department.faxnumbers.all %}

Fax Number: {{ faxnumber.phone }}

 {{ faxnumber.description }}

Location: {{ faxnumber.location }}


{% empty %}

No fax numbers listed for this department.

{% endfor %} {% if department.contacts.all|length > 0 %}
{% for contact in department.contacts.all|dictsort:"last_name" %}

{{ contact.first_name }} {{ contact.last_name }}

Title: {{ contact.title }}

Extension: {{ contact.extension }}

Location: {{ contact.location }}

Phone: {{ contact.phone }}

{% endfor %}
{% else %}

No contacts listed.

{% endif %}
{% endblock content %}