aboutsummaryrefslogtreecommitdiffstats
path: root/bn_django/git_wiki/templates/git_wiki/commit.html
blob: 8497311bd77e4852e2c65e6a18367c43d38fec5e (plain)
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
{% extends "git_wiki/base.html" %}

{% block title %}Commit: {{ commit.committer_date}}
{% endblock %}
{% block gitwiki %} {% if commit %}
    <b>Commit sha1 hash: </b>
    <span class="hash">{{ commit.id }}</span><br />
    <b>Parent sha1 hash: </b>
    {% if commit.parenthash %}
    <a href="/k/commit/{{ commit.parenthash }}/">
    <span class="hash">{{ commit.parenthash }}</span></a>
    {% else %}No parent... root commit?{% endif %}
    <br />
    <b>Tree sha1 hash: </b>
    {% if commit.treehash %}
    <span class="hash">{{ commit.treehash }}</span>
    {% else %}No tree hash?{% endif %}
    <br /><b>Author: </b>
    {{ commit.author }}<br />
    <b>Author Date: </b>
    {{ commit.author_date }}<br />
    <b>Committer: </b>
    {{ commit.committer }}<br />
    <b>Committer Date: </b>
    {{ commit.committer_date }}<br />
    {% if commit.rawdiff %}
    <pre class="large">{{ commit.rawdiff }}</pre>
    {% else %}No diff{% endif %}
{% else %}
    <h3>No such object: {{ hash }}</h3>
{% endif %} {% endblock %}