<div class="department_item">
<div class="department_item_header">
<div class="department_item_info">
<h2 class="department_item_name">
<a href="page-directory-detail.html" class="department_item_name_link">
<span class="department_item_name_link_inner">
<span class="department_item_name_link_label">Department or Office Name</span><span class="department_item_name_link_icon" data-nowrap="true" aria-hidden="true">
<svg class="icon icon_arrow_right">
<use href="/images/icons.svg#arrow_right" />
</svg>
</span>
</span>
</a>
</h2>
<div class="department_item_title">Title</div>
</div>
</div>
<div class="department_item_body">
<div class="department_item_details">
<div class="department_item_detail contact">
<div class="department_item_detail_label">Contact</div>
<div class="department_item_detail_item">
<div class="department_item_detail_item_header">
<div class="department_item_detail_hint">Phone: </div>
</div>
<div class="department_item_detail_info">
<a href="tel:4105551234" class="department_item_detail_info_link">
<span class="department_item_detail_info_link_inner">
<span class="department_item_detail_info_link_label">(410) 555-1234</span><span class="department_item_detail_info_link_icon" data-nowrap="true" aria-hidden="true">
<svg class="icon icon_arrow_right">
<use href="/images/icons.svg#arrow_right" />
</svg>
</span>
</span>
</a>
</div>
</div>
<div class="department_item_detail_item">
<div class="department_item_detail_item_header">
<div class="department_item_detail_hint">Email: </div>
</div>
<div class="department_item_detail_info">
<a href="mailto:name@university.edu" class="department_item_detail_info_link">
<span class="department_item_detail_info_link_inner">
<span class="department_item_detail_info_link_label">name@university.edu</span><span class="department_item_detail_info_link_icon" data-nowrap="true" aria-hidden="true">
<svg class="icon icon_arrow_right">
<use href="/images/icons.svg#arrow_right" />
</svg>
</span>
</span>
</a>
</div>
</div>
</div>
</div>
</div>
</div>
{#
{% include '@partial-department-item' with {
item: {
name: 'Name',
title: 'Title',
url: '#',
image: '1',
contact: {
email: 'email@address.com',
phone: '(410) 555-1234'
},
location: 'Location',
department: {
url: '#',
label: 'Department'
}
}
} %}
#}
<div class="department_item">
<div class="department_item_header">
<div class="department_item_info">
<h2 class="department_item_name">
{% include '@partial-link' with {
title: item.name,
url: item.url,
class: 'department_item_name',
icon: 'arrow_right',
nowrap: true
} %}
</h2>
{% if item.title %}
<div class="department_item_title">{{ item.title }}</div>
{% endif %}
</div>
</div>
<div class="department_item_body">
<div class="department_item_details">
{% if item.contact %}
<div class="department_item_detail contact">
{% if item.contact.phone or item.contact.email %}
<div class="department_item_detail_label">Contact</div>
{% endif %}
{% if item.contact.phone %}
<div class="department_item_detail_item">
<div class="department_item_detail_item_header">
<div class="department_item_detail_hint">Phone: </div>
</div>
<div class="department_item_detail_info">
{% include '@partial-link' with {
title: item.contact.phone,
url: 'tel:' ~ tel(item.contact.phone),
class: 'department_item_detail_info',
icon: 'arrow_right',
nowrap: true
} %}
</div>
</div>
{% endif %}
{% if item.contact.email %}
<div class="department_item_detail_item">
<div class="department_item_detail_item_header">
<div class="department_item_detail_hint">Email: </div>
</div>
<div class="department_item_detail_info">
{% include '@partial-link' with {
title: item.contact.email,
url: 'mailto:' ~ item.contact.email,
class: 'department_item_detail_info',
icon: 'arrow_right',
nowrap: true
} %}
</div>
</div>
{% endif %}
</div>
{% endif %}
</div>
</div>
</div>
No notes defined.