{% extends "profiles.twig" %} {% block subcontent %} {#

List staff profiles

#}

{{subtitle}}

{% if profiles|length == 0 %}

No profiles found

{% else %}
{# is this a listing of current profiles or published profiles? #} {% set viewCurrent = active in ['profiles.current','department.profiles.current'] %} {% if is_granted('ROLE_ALL_USERS') %} {% endif %} {% if viewCurrent %} {% endif %} {% if is_granted('ROLE_ADMIN') %} {% endif %} {# #} {% for profile in profiles %} {% if is_granted('ROLE_ALL_USERS') %} {% endif %} {% if viewCurrent %} {% endif %} {% if is_granted('ROLE_ADMIN') %} {% endif %} {# #} {% endfor %}
NameDepartmentStatusEnabled
in CMS
Last {{ viewCurrent ? 'modified' : 'published' }} ActionsLive page
{% if is_granted('EDIT_PROFILE', profile) %} {{ profile.displayName }} {% else %} {{ profile.displayName }} {% endif %} {{ app.departments.name(profile.department) }}{{ profile.id ? app.status_description[profile.status]|default('') : '' }}{{ profile.enabled ? 'yes' : 'no'}} {% if profile.modified %} {{ profile.modified|date("d/m/Y H:i:s") }} {% endif %} {{ profile.pagePath }}
{% endif %} {% endblock %}