aboutsummaryrefslogtreecommitdiffstats
path: root/bn_django/git_wiki/templates/git_wiki/commit.html
diff options
context:
space:
mode:
Diffstat (limited to 'bn_django/git_wiki/templates/git_wiki/commit.html')
-rw-r--r--bn_django/git_wiki/templates/git_wiki/commit.html39
1 files changed, 0 insertions, 39 deletions
diff --git a/bn_django/git_wiki/templates/git_wiki/commit.html b/bn_django/git_wiki/templates/git_wiki/commit.html
deleted file mode 100644
index e99d553..0000000
--- a/bn_django/git_wiki/templates/git_wiki/commit.html
+++ /dev/null
@@ -1,39 +0,0 @@
-{% extends "git_wiki/base.html" %}
-
-{% block stylesheets %}{{ block.super }}
-<link rel="STYLESHEET" type="text/css" href="/static/style/pygments-default.css" />
-{% endblock %}
-
-{% 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.pretty_diff %}
- <pre class="large">{{ commit.pretty_diff|safe}}</pre>
- {% else %}
- {% if commit.rawdiff %}
- <pre class="large">{{ commit.rawdiff }}</pre>
- {% else %}No difference?{% endif %}
- {% endif %}
-{% else %}
- <h3>No such object: {{ hash }}</h3>
-{% endif %} {% endblock %}