https://dev.kronoz.win/r/rgit.git
1{% extends "repo/base.html" %}
2
3{% block head %}
4 <link rel="stylesheet" type="text/css" href="/highlight-{{ crate::HIGHLIGHT_CSS_HASH.get().unwrap() }}.css" />
5 <link rel="stylesheet" type="text/css" href="/highlight-dark-{{ crate::DARK_HIGHLIGHT_CSS_HASH.get().unwrap() }}.css" />
6{%- endblock %}
7
8{% block commit_nav_class %}active{% endblock %}
9
10{% block content %}
11<table class="commit-info">
12 <tbody>
13 <tr>
14 <th>author</th>
15 <td>{{ commit.author().name() }} <{{ commit.author().email() }}></td>
16 <td>{{ commit.author().time() }}</td>
17 </tr>
18 <tr>
19 <th>committer</th>
20 <td>{{ commit.committer().name() }} <{{ commit.committer().email() }}></td>
21 <td>{{ commit.committer().time() }}</td>
22 </tr>
23 <tr>
24 <th>commit</th>
25 <td colspan="2"><pre><a href="/{{ repo.display() }}/commit?id={{ commit.oid() }}" class="no-style">{{ commit.oid() }}</a> <a href="/{{ repo.display() }}/patch?id={{ commit.oid() }}">[patch]</a></pre></td>
26 </tr>
27 <tr>
28 <th>tree</th>
29 <td colspan="2"><pre><a href="/{{ repo.display() }}/tree?id={{ commit.tree() }}" class="no-style">{{ commit.tree() }}</a></pre></td>
30 </tr>
31 {%- for parent in commit.parents() %}
32 <tr>
33 <th>parent</th>
34 <td colspan="2"><pre><a href="/{{ repo.display() }}/commit?id={{ parent }}" class="no-style">{{ parent }}</a></pre></td>
35 </tr>
36 {%- endfor %}
37 </tbody>
38</table>
39
40<h2>{{ commit.summary() }}</h2>
41<pre>{{ commit.body() }}</pre>
42
43<h3>Diff</h3>
44<pre class="diff">{{ commit.diff_stats|safe }}
45{{ commit.diff|safe }}</pre>
46{% endblock %}