{% extends "repo/base.html" %}
{% block head %}
<link rel="stylesheet" type="text/css" href="/highlight.css" />
{% endblock %}
{% block commit_nav_class %}active{% endblock %}
{% block content %}
<table class="commit-info">
<tbody>
<tr>
<th>author</th>
<td>{{ commit.author().name() }} <{{ commit.author().email() }}></td>
<td>{{ commit.author().time() }}</td>
</tr>
<tr>
<th>committer</th>
<td>{{ commit.committer().name() }} <{{ commit.committer().email() }}></td>
<td>{{ commit.committer().time() }}</td>
</tr>
<tr>
<th>commit</th>
<td colspan="2"><pre><a href="/{{ repo.display() }}/commit?id={{ commit.oid() }}" class="no-style">{{ commit.oid() }}</a></pre></td>
</tr>
<tr>
<th>tree</th>
<td colspan="2"><pre><a href="/{{ repo.display() }}/tree?id={{ commit.tree() }}" class="no-style">{{ commit.tree() }}</a></pre></td>
</tr>
{% for parent in commit.parents() %}
<tr>
<th>parent</th>
<td colspan="2"><pre><a href="/{{ repo.display() }}/commit?id={{ parent }}" class="no-style">{{ parent }}</a></pre></td>
</tr>
{% endfor %}
</tbody>
</table>
<h2>{{ commit.summary() }}</h2>
<pre>{{ commit.body() }}</pre>
<h3>Diff</h3>
<pre>{{ commit.diff_stats|safe }}
{{ commit.diff|safe }}</pre>
{% endblock %}