{% extends "todo.html" %} {% block title %} {{tracker.name}} — {{ cfg("sr.ht", "site-name") }} todo {% endblock %} {% block body %}

{{ tracker.owner }}/{{ tracker.name }}

{{ tracker.description | md }} {% if TicketAccess.submit in access %}

Submit ticket

{{csrf_token()}}
{{valid.summary("title")}}
{{valid.summary("description")}}
{% else %}

You need to log in to submit tickets.

{% endif %}
{{csrf_token()}}
{% if len(tickets) %}
{% for ticket in tickets %}
{{ ticket.title }} {% for label in ticket.labels %} {{ label|label_badge(cls="small") }} {% endfor %}
{{ ticket.updated | date }}
{% if ticket.id in seen_ticket_ids %}
{{icon("comments-o")}} {{ comment_counts.get(ticket.id, 0) }}
{% else %}
{{icon("comments")}} {{ comment_counts.get(ticket.id, 0) }}
{% endif %} {% endfor %}
{% else %}
No tickets found for this search criteria.
{% endif %} {{pagination()}}
{% endblock %}