{% load i18n %}
<div>
    <p>
        {{ title | safe }}
    </p>
    <div>
        {% for child in content %}
            <h2>{{ child.title }}</h2>
            <hr>
            {% for item in child.content %}
                <li style="list-style-type:none">
                    <b>{{ item.title }}: </b> {{ item.value }}
                </li>
            {% endfor %}
        {% endfor %}
    </div>
    <br>
    <div>
        <a href="{{ ticket_detail_url }}" target="_blank">
            {% trans 'View details' %}
        </a>
        <br>
        {% if ticket_approval_url %}
            <a href="{{ ticket_approval_url }}" target="_blank">
                {% trans 'Direct approval' %}
            </a>
        {% endif %}
    </div>
</div>
