{% load markdown_extras i18n %} {% firstof request.GET.next request.get_full_path as return_url %}
{{ item.get_kind_display }} {% if item.team %}{{ item.team.name }}{% else %}{{ item.get_visibility_display }}{% endif %} #{{ item.id }} {% for tag in item.tags.all %}#{{ tag.name }}{% endfor %}
{{ item|item_markdown }}
{% if overview_lines %}{% endif %}
{% if item.comment %}
{{ item.comment|markdown }}
{% endif %} {% if item.due_at %}
{% if item.is_overdue %}{% trans "Overdue" %}{% elif item.is_due_today %}{% trans "Due today" %}{% endif %}{% trans "Due:" %} {{ item.due_at|date:'d.m.Y H:i' }}
{% endif %} {% if item.url %}{{ item.url }}{% endif %} {% if item.linked_items.all %}
{% trans "Links:" %} {% for linked in item.linked_items.all %}#{{ linked.id }} {% endfor %}
{% endif %} {% if item.attachments.all %}
{% trans "Attachments:" %} {% for a in item.attachments.all %}{{ a.file.name }} {% endfor %}
{% for a in item.attachments.all %}{% if a.file.name|is_image and not a|is_embedded:item %}{{ a.file.name }}{% endif %}{% endfor %}
{% endif %}
{% if item.kind == 'todo' %}{% endif %} {% if request.resolver_match.url_name == 'item_detail' %} ✎ {% trans "Edit" %} {% else %} ✎ {% trans "Edit" %} {% endif %}