{% load i18n %}
{% if not results %} {% translate 'Run a test to see...' %} {% else %} {% for result in results %} {% if result.type == 'header' %}
{% if result.header_type == "edit_transaction" %} {% translate 'Edit transaction' %} {% elif result.header_type == "update_or_create_transaction" %} {% translate 'Update or create transaction' %} {% endif %}
{% endif %} {% if result.type == 'triggering_transaction' %}
{% translate 'Start' %}
{% endif %} {% if result.type == 'edit_transaction' %}
{% translate 'Set' %} {{ result.field }} {% translate 'to' %} {{ result.new_value }}
{% endif %} {% if result.type == 'update_or_create_transaction' %}
{% if result.start_transaction %} {% else %} {% endif %}
{% endif %} {% if result.type == 'error' %}
{% endif %} {% endfor %} {% endif %}
{% if not logs %} {% translate 'Run a test to see...' %} {% else %}
              {{ logs|linebreaks }}
            
{% endif %}