{% extends "base.html" %} {% from "partials/css_helpers.html" import thread_status_badge %} {% block content %}
{% include "partials/repo_heading.html" %} {% set repo_tab = "threads" %} {% include "partials/repo_tabs.html" %}
Repo threads
Reset
{% if current_user %} New thread {% else %} Sign in to create {% endif %}
{% if page.results | length == 0 %}

No threads found.

{% else %} {% for thread in page.results %}
#{{ thread.number }} {{ thread.title }}
Started by {% with user_link_href = thread.created_by_href, user_link_username = thread.created_by, user_link_label = thread.created_by, user_link_class = "fw-semibold text-decoration-none" %} {% include "partials/hover_card_user_link.html" %} {% endwith %} {{ thread.created_at | humantime }}
{% with lifecycle=thread.lifecycle %} {% include "repo/partials/thread_lifecycle.html" %} {% endwith %}
{{ thread.summary_line }}
{% if thread.priority == "now" %} Now {% endif %} {{ thread.kind }} {{ thread.status }}
{% if thread.activity_at %}
Active {{ thread.activity_at | humantime }}
{% endif %}
Updated {{ thread.updated_at | humantime }}
{% if thread.body_preview %}

{{ thread.body_preview }}

{% endif %} {% if thread.participants | length > 0 %}
Participants: {% for participant in thread.participants %} {% with user_link_href = participant.href, user_link_username = participant.username, user_link_label = participant.username, user_link_class = "text-decoration-none" %} {% include "partials/hover_card_user_link.html" %} {% endwith %}{% if not loop.last %}, {% endif %} {% endfor %} {% if thread.participants_has_more %} and more {% endif %}
{% endif %}
{% endfor %} {% endif %}
{% with page=page, query=query, per_page_id="repo-threads-per-page", per_page_form="repo-threads-filter-form" %} {% include "partials/paging_footer.html" %} {% endwith %}
{% endblock %} {% block scripts %} {% endblock %}