{% set status = account.agent_status %} {% if status %}
{% if status == "Available" or status == "Available (On Demand)" %} {{ _("This agent is currently available") }} {% elif status == "Logged Out" %} {{ _("This agent is currently logged out") }} {% elif status == "On Break" %} {{ _("This agent is currently on a break") }} {% else %} {{ _("Unknown status: %s") % status }} {% end %}