{% extends "server/base.html" %}
{% import "chats/macros.html" as m with context %}
{% set searching = "q" in request.query_params %}
{% block title %}{{ m.named(opened.detail.conversation) if opened else t.text("chats.title") }}{% endblock %}
{% block root %} class="filled"{% endblock %}
{% block head %}{% endblock %}
{% block top %}
{{ t.text("chats.title") }}
{% set picked = agents | selectattr("id", "in", scoped | map(attribute="id") | list) | list %}
{{ t.text("chats.unavailable") }}
{% endif %}