{% extends "base_authenticated.html" %} {% block title %}{{ ticket.title }}{% endblock %} {% block content_inner %}
Tickets / {{ ticket.title|truncatechars:30 }}

{{ ticket.title }}

Edit {% if user.is_admin %} {% endif %}
{{ ticket.get_ticket_type_display }} {{ ticket.get_status_display }} {{ ticket.get_priority_display }}

Creator

{{ ticket.creator.username }}

Project

{{ ticket.project.name|default:"-" }}

Assignee

{{ ticket.assignee.username|default:"Unassigned" }}

{{ ticket.description|safe }}

Comments ({{ comments.count }})

{% for comment in comments %}
{{ comment.author.username|first|upper }}
{{ comment.author.username }} {{ comment.created_at|timesince }} ago

{{ comment.body }}

{% empty %}

No comments yet. Be the first to comment.

{% endfor %}
{% csrf_token %}
{% url 'ticket_delete' ticket.pk as delete_url %} {% include "components/delete_modal.html" with modal_id="delete-modal-ticket" delete_url=delete_url %} {% endblock %}