{% extends "base.html" %} {% from "_macros.html" import collapse_card_start, collapse_card_end %} {% block content %}

Transition {{ transition.id}}

{{ collapse_card_start("Info", show=True) }}
id
{{ transition.id }}
source state
[{{transition.source_state_id}}] {{transition.source_state.label}}
destination state
[{{transition.destination_state_id}}] {{transition.destination_state.label}}
condition
{{ transition.condition | python_code }}
{{ collapse_card_end("Info") }} {% if transition.actions %} {{ collapse_card_start("Actions", show=True, data_count=transition.actions|length) }} {% for action in transition.actions | sort(attribute='id') %} {% endfor %}
id time experiment start state end state callback success callback finished description
{{action.id}} {{action.start_time}} [{{action.experiment_id}}] {{action.experiment.label}} [{{action.transition.source_state.id}}] {{action.transition.source_state.label}} [{{action.transition.destination_state.id}}] {{action.transition.destination_state.label}} {{action.success}} {{action.end_time}} {{action.free_text}}
{{ collapse_card_end("Actions") }} {% endif %} {% endblock %}