{% extends "base.html" %} {% block title %}Trouble Tickets{% endblock %} {% block content %}

Trouble tickets

{% if tickets %} You have the following open tickets. If you're having an issue, you can open a new ticket.
{% for ticket in tickets %} {% if ticket.active %} #{{ ticket.id }} {{ ticket.summary }} {% endif %} {% endfor %}
You have the following closed tickets:
{% for ticket in tickets %} {% if not ticket.active %} #{{ ticket.id }} {{ ticket.summary }} {% endif %} {% endfor %}
{% else %} You have no open tickets right now. You can open one if you're having an issue. {% endif %} {% endblock %}