{% extends "base.html" %}
{% block title %}{{ repo.name }} — {{ repo.description }}{% endblock %}
{% block header %}
{{ macros::header(Some(repo), branch_names, Some(current_ref)) }}
{% endblock %}
{% block tabs %}
{{ macros::repo_tabs(repo, current_ref, query, "commit") }}
{% endblock %}
{% block content %}
{{ commit.summary()? }}
{% if commit.is_head(repo)? %}HEAD{% endif %}
{% for branch in commit.branch_tips(repo)? %}
{{ branch }}
{% endfor %}
{{ commit.body()? }}
{% for file_diff in diff.file_diffs %}
| {{ file_diff.mode }} |
{{ file_diff.path }}
|
{{ file_diff.total }} |
{% if file_diff.total != 0 %}
{% if file_diff.insertions_percentage > 0.0 %}
|
{% endif %}
{% if file_diff.deletions_percentage > 0.0 %}
|
{% endif %}
{% endif %}
|
{% endfor %}
{{ diff.stats }}
{{ diff.output|safe }}
{% endblock %}