{{ c.column_header(t.text("agents.title"), brand=true) }}
{% include "agent_list.html" %}
{# an agent's own page takes the two columns right of the list #}
{% if profile is defined and profile %}
{% include "agent_profile.html" %}
{% else %}
{% if selected %}
{% include "agent_contacts_head.html" %}
{% set base = "/agents/" ~ ref(selected.computer_id) ~ "/" ~ ref(selected.id) %}
{% set query = ["review=pending" if pending, "selected=" ~ ref(contact.thread_id) if contact]|select|join("&") %}
{{ c.search_button() }}
{# the conversations are the node's to list, so the page comes up first and
the column asks for them once it is there #}
{{ c.icon("loader") }}
{% endif %}
{% include "chat.html" %}
{% if selected %}{% include "search.html" %}{% endif %}
{% endif %}