{% extends "base.html" %} {% from "partials/css_helpers.html" import thread_kind_badge, thread_status_badge, thread_kind_accent %} {% block content %}
{% include "partials/repo_heading.html" %} {% set repo_tab = "threads" %} {% include "partials/repo_tabs.html" %}
#{{ thread.number }} {% with user_link_href = thread_creator_href, user_link_username = thread_creator, user_link_label = thread_creator, user_link_class = "fw-semibold text-decoration-none" %} {% include "partials/hover_card_user_link.html" %} {% endwith %} {{ thread.created_at | humantime }} {% if thread.updated_at != thread.created_at %} ยท updated {{ thread.updated_at | humantime }} {% endif %}
{{ thread.title }}
{{ thread.kind }} {{ thread.status }} {% if thread.priority == "now" %} Now {% endif %} {{ thread.size }}
{% with lifecycle=thread_lifecycle %} {% include "repo/partials/thread_lifecycle.html" %} {% endwith %}
{{ thread_summary_line }}
{% if current_user and (thread_can_edit or thread_can_update_metadata) %} Edit {% endif %} {% if current_user and thread_can_delete %} {% endif %}
{% if thread.body and thread.body | trim != "" %}
{{ thread.body | markdown | linkify(is_private=linkify_is_private, current_team_slug=linkify_current_team_slug) }}
{% endif %}
{% if linked_pulls | length > 0 %}
Linked pulls
{% for pull in linked_pulls %} {% endfor %}
{% endif %} {% if reply_context %}
Focused reply context
Showing the focused {{ reply_context.focused_kind }} reply in branch view.
Back to thread root
{% if reply_context.parent_reply %}
Parent reply
{% with reply=reply_context.parent_reply %}
{% include "repo/partials/thread_reply_card.html" %}
{% endwith %} {% endif %}
Focused reply
{% with reply=reply_context.focused_reply %}
{% include "repo/partials/thread_reply_card.html" %}
{% endwith %}
{% endif %}
Replies
{% if not reply_context %}
{% endif %} {% if not current_user %} Sign in to reply {% endif %}
{% if current_user %}
Reply {% with form=top_reply_form %} {% include "repo/partials/thread_reply_form.html" %} {% endwith %}
{% endif %} {% if replies | length == 0 %}

No replies in this view yet.

{% else %} {% for reply in replies %} {% include "repo/partials/thread_reply_item.html" %} {% endfor %} {% endif %}
{% with page=reply_page, query=reply_paging, per_page_id="thread-replies-per-page", per_page_form="thread-replies-paging-form" %} {% include "partials/paging_footer.html" %} {% endwith %}
{% if current_user and thread_can_delete %} {% endif %} {% with modal_id="confirm-delete-reply", modal_title="Delete reply", modal_body='Delete ?', modal_confirm_text="Delete reply", modal_desc="This keeps the reply in the thread tree but scrubs its body and author.", modal_manual_submit=true %} {% include "partials/confirm_modal.html" %} {% endwith %}
{% if query.reply_root %} {% endif %}
{% endblock %} {% block scripts %} {% endblock %}