{% load custom_tags_and_filters %}
{% for ticket in tickets %}
    <div class="col-lg-9" style="float: none; padding: 0;">
        {% include 'NEMO_osticket/snippets/osticket_details.html' with ticket=ticket %}
    </div>
{% empty %}
    {% if not osticket_api_available %}<div>There are no open tickets for this tool.</div>{% endif %}
{% endfor %}
{% if osticket_api_available %}
    {% url 'osticket_create_tool_ticket' tool_id as create_ticket_url %}
    {% include 'NEMO_osticket/snippets/osticket_create_ticket.html' with create_ticket_url=create_ticket_url %}
{% endif %}
<div style="height:150px">{# Spacer #}</div>
