{{ operation['id'] }}
{% with %}
{% set op_ui_status = operation['status'].split('-')[1] | title %}
{% if operation['additional'] == '' %}
{{ op_ui_status }}
{% endif %}
{% if operation['additional'] != '' %}
{% endif %}
{% endwith %}
{% with %}
{% if not operation['group'] %}
{% set op_id = operation['id'] %}
{% else %}
{% set op_id = operation['operation_group_id'] %}
{% endif %}
{% if operation['group'] %}
{% set is_group = 1 %}
{% else %}
{% set is_group = 0 %}
{% endif %}
{% if operation['algorithm'].algorithm_category.displayname == 'Simulate' %}
Reload
{% else %}
{% if (not operation['group']) and (not operation['algorithm'].algorithm_category.displayname == 'Create') and (not operation['algorithm'].algorithm_category.rawinput) %}
Reload
{% else %}
Reload
{% endif %}
{% endif %}
{% if operation['status'] == model.STATUS_STARTED %}
Stop
{% else %}
Stop
{% endif %}
{% with %}
{% set ok_callback = 'cancelOrRemoveOperation(' ~ (op_id | string) ~ ', ' ~ (is_group | string) ~ ', true);' %}
Remove
{% endwith %}
{% endwith %}
{{ operation['algorithm'].algorithm_category.displayname }}
{{ operation['algorithm'].displayname }}
{{ operation['burst_name'] if operation['burst_name']!='-' else '' }}
{{ operation['user'].display_name }}
{{ operation['create'].strftime('%Y/%m/%d') }}
{{ operation['create'].strftime('%H:%M') }}
{% if operation['complete']!= none %}
{{ operation['complete'].strftime('%Y/%m/%d') }}
{{ operation['complete'].strftime('%H:%M') }}
{% endif %}
{% if 'duration' in operation %}
{{ operation['duration'] }}
{% endif %}
{{ displayOperationResults(operation) }}
{% with %}
{% set toBeStatus = 'false' if operation['visible'] else 'true' %}
{% set buttonLabel = 'Make not relevant' if operation['visible'] else 'Make relevant' %}
{% set buttonClass = 'action-make-irrelevant' if operation['visible'] else 'action-make-relevant' %}
{% set is_group = 'true' if 'operation_group_id' in operation else 'false' %}
{{ buttonLabel }}
{% endwith %}
{% endfor %}