1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{% extends "layout.html" %}
{% block title %}{{ commit.short_id }} · {{ owner.username }}/{{ repo.name }} — kitgit{% endblock %}
{% block content %}
<section class="kg-section">
<h1 class="kg-title">
<a href="/{{ owner.username }}/{{ repo.name }}">{{ owner.username }}/{{ repo.name }}</a>
· commit
</h1>
{% let tab = "commits" %}
{% let archive_ref = commit.id %}
{% include "partials/repo_tabs.html" %}
<p><code>{{ commit.id }}</code></p>
<p class="kg-title">
{{ message_html|safe }}
{% if commit.verified %}
<details class="kg-verify">
<summary class="kg-badge kg-badge--verified">Verified</summary>
<div class="kg-verify__panel" role="dialog" aria-label="Commit signature">
<p class="kg-verify__fp">
<strong>{{ commit.verify_fingerprint_label }}:</strong>
<code>{{ commit.verify_fingerprint }}</code>
</p>
<p class="kg-meta">Verified on {{ commit.verified_at }}</p>
</div>
</details>
{% endif %}
</p>
<p class="kg-meta">{{ commit.author }} <{{ commit.email }}> · {{ commit.time }}</p>
<p><a href="/{{ owner.username }}/{{ repo.name }}/diff/{{ commit.id }}">view full diff</a></p>
{{ diff_html|safe }}
</section>
{% endblock %}