{% extends "internal_tpl_base.html" %} {% from 'internal_tpl_macros.html' import chat_box, modal_msg %} {% block content_title %}{{ behaviour }}{% endblock %} {% block content %}

{{ behaviour.mailbox_size() }}

Mailbox

Template

{% filter escape %}{{ behaviour.template }}{% endfilter %}

{{ behaviour.is_killed() }}

Is killed?

{{ behaviour._exit_code }}

Exit Code

{% if "Periodic" in behaviour.__str__() %}

{{ behaviour.period.total_seconds() }}

Period

{% endif %} {% if "Timeout" in behaviour.__str__() %}

Timeout

{{ behaviour._timeout }}

{% endif %} {% if "FSM" in behaviour.__str__() %}

{{ behaviour.current_state}}

Current State

{% endif %}
{{ chat_box(bmessages, agent, allow_send=False) }} {% for date, msg in bmessages %} {{ modal_msg(msg, date) }} {% endfor %}
{% if "FSM" in behaviour.__str__() %}

Finite State Machine

{% endif %}
{% endblock %}