{% extends snapnote_base_template %} {% load i18n static %} {% block content %} {% with ticket=object %}

← {% trans "Tickets" %}

{{ ticket }}

{% if perms.snapnote.change_ticket %} {% if ticket.status == "open" %}
{% csrf_token %}
{% else %}
{% csrf_token %}
{% endif %} {% endif %} {% if perms.snapnote.delete_ticket %} {% trans "Delete" %} {% endif %}
{% if ticket.closed_at %}{% endif %} {% if ticket.jira_key or ticket.jira_error %}{% endif %}
{% trans "Status" %}{% include "snapnote/includes/status_badge.html" %}
{% trans "Reported by" %}{{ ticket.reported_by|default:"-" }}
{% trans "Created at" %}{{ ticket.created_at }}
{% trans "Closed" %}{{ ticket.closed_at }} ({{ ticket.closed_by|default:"-" }})
Jira {% if ticket.jira_key %} {% if ticket.jira_url %}{{ ticket.jira_key }}{% else %}{{ ticket.jira_key }}{% endif %} {% if ticket.jira_error %}{{ ticket.jira_error }}{% endif %} {% else %} {% trans "Jira failed" %} {{ ticket.jira_error }} {% if perms.snapnote.change_ticket and jira_enabled %}
{% csrf_token %}
{% endif %} {% endif %}
{% trans "Page" %}{% if ticket.safe_page_url %}{{ ticket.page_url }}{% else %}{{ ticket.page_url }}{% endif %}
{% trans "Description" %}{{ ticket.description|linebreaksbr|default:"-" }}
{% if ticket.screenshot %}
{% if ticket.annotations %} {% endif %}
{% trans 'Screenshot' %} {% if ticket.annotations %}{% trans 'Annotations' %}{% endif %}
{% endif %}
{% endwith %} {% endblock %}