Behaviours
-
{% for behaviour in agent.behaviours %}
-
{% if behaviour.is_killed() %} {% else %} {% endif %}{{ behaviour }} {% if not behaviour.is_killed() %} {% endif %} Template: {% filter escape %}{{ behaviour.template }}{% endfilter %}
{% endfor %}
Contacts
-
{% for contact in contacts %}
-
{{ contact.jid }} {%if not contact.available %} OFFLINE {% else %} {% if contact.show.value in ["xa", "away", "dnd"] %} {{ contact.show.value | upper }} {% elif contact.show.value == "none" or contact.show.value == "plain" or contact.show.value == "chat" or contact.show.value == "free_for_chat" %} ONLINE {% endif %} {% endif %}
{% endfor %}