{% extends "layout.html" %} {% block title %}#{{ pull.number }} {{ pull.title }} — kitgit{% endblock %} {% block content %}

{{ pull.state }} #{{ pull.number }} {{ pull.title }}

{{ pull.source_branch }} → {{ pull.target_branch }}

{% let pr_tab = tab %} {% let tab = "pulls" %} {% let archive_ref = repo.default_branch %} {% include "partials/repo_tabs.html" %} {% if pr_tab == "conversation" %}
{{ author.username }} {{ pull.created_at }}
{{ body_html|safe }}
{% for c in comments %}
{{ c.author.username }} {{ c.created_at }}
{{ c.body_html|safe }}
{% include "partials/reactions.html" %}
{% endfor %} {% for r in reviews %}
{{ r.reviewer.username }} {{ r.state_label() }} {{ r.created_at }}
{% if !r.body.is_empty() %}
{{ r.body_html|safe }}
{% endif %}
{% endfor %} {% if viewer.is_some() && pull.state == "open" %}
review {% if !is_author %} {% endif %}
{% endif %} {% if viewer.is_some() %}
{% if pull.state == "open" %} {% endif %}
{% endif %} {% if can_merge && !merge_styles.is_empty() %}
{% endif %} {% else if pr_tab == "commits" %} {% if commits.is_empty() %}

No commits on this pull request.

{% else %} {% endif %} {% else %} {% if diff_files.is_empty() %}

No file changes.

{% else %}
{% for f in diff_files %}
{{ f.path }} {% if f.binary %} binary {% else %} +{{ f.additions }} −{{ f.deletions }} {% endif %}
{{ f.html|safe }} {% if f.truncated && !show_full %}

Large diffs are not rendered by default. Showing the first 50 of {{ f.total_lines }} lines. Show full diff

{% endif %}
{% endfor %}
{% endif %} {% endif %}
{% endblock %}