{% extends "base.html" %} {% load i18n %} {% load staticfiles %} {% block content %}

{% trans 'Ticket' %}: {{ myticket.ticket }} {% trans 'Active:' %} {{ myticket.active }}

{% trans 'Date' %}: {{ myticket.date }} {% trans 'User:' %} {{ myticket.stationmetadata.user.username }} {% trans 'Station:' %} {{ myticket.stationmetadata.slug }}

{% trans 'Priority' %}: {{ myticket.get_priority_display }}

{% trans 'Assigned to' %}: {% for user in myticket.assigned_to.all %} {{user.username}}; {% endfor %} {% trans 'Subscribed by' %}: {% for user in myticket.subscribed_by.all %} {{user.username}}; {% endfor %}

{% trans 'Abstract' %}: {{ myticket.abstract }}

{% trans 'Description' %}: {{ myticket.description }}

{% trans 'Actions' %}

{% for action in myticket.ticketaction_set.all %}
{% endfor %}
{% trans 'Active' %} {% trans 'Date' %} {% trans 'Category' %} {% trans 'Description' %}
{% if action.active %} {% else %} {% endif %} {{ action.date }} {{ action.get_category_display }} {{ action.description }}

{% trans 'Images' %}

{% for image in myticket.ticketimage_set.all %}
{% endfor %}
{% trans 'Active' %} {% trans 'Date' %} {% trans 'Category' %} {% trans 'Description' %} {% trans 'Image' %}
{% if image.active %} {% else %} {% endif %} {{ image.date }} {{ image.get_category_display }} {{ image.description }}

{% trans 'Attachments' %}

{% for attachment in myticket.ticketattachment_set.all %}
{% endfor %}
{% trans 'Active' %} {% trans 'Date' %} {% trans 'Mime type' %} {% trans 'Size' %} {% trans 'File name' %}
{% if attachment.active %} {% else %} {% endif %} {{ attachment.date }} {{ attachment.mime_type }} {{ attachment.get_size }} {{ attachment.get_filename }}
{% endblock %}