diff options
Diffstat (limited to 'bn_django/git_browse/templates/git_browse/commit.html')
-rw-r--r-- | bn_django/git_browse/templates/git_browse/commit.html | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/bn_django/git_browse/templates/git_browse/commit.html b/bn_django/git_browse/templates/git_browse/commit.html deleted file mode 100644 index b586eb8..0000000 --- a/bn_django/git_browse/templates/git_browse/commit.html +++ /dev/null @@ -1,36 +0,0 @@ -{% extends "git_browse/base.html" %} -{% block stylesheets %}{{ block.super }} -<link rel="STYLESHEET" type="text/css" href="/static/style/pygments-default.css" /> -{% endblock %} - -{% block gitbrowse %} {% if commit %} - <h3>Commit sha1 hash</h3> - <span class="hash">{{ commit.id }}</span><br /> - <h3>Parent sha1 hash</h3> - {% if commit.parenthash %} - <a href="/code/{{object.slug}}/commit/{{ commit.parenthash }}/"> - <span class="hash">{{ commit.parenthash }}</span></a> - {% else %}No parent... root commit?{% endif %} - <h3>Tree sha1 hash</h3> - {% if commit.treehash %} - <a href="/code/{{object.slug}}/tree/{{ commit.treehash }}/"> - <span class="hash">{{ commit.treehash }}</span></a> - {% else %}No tree hash?{% endif %} - <h3>Author</h3> - {{ commit.author }}<br /> - <h3>Author Date</h3> - {{ commit.author_date }}<br /> - <h3>Committer</h3> - {{ commit.committer }}<br /> - <h3>Committer Date</h3> - {{ commit.committer_date }}<br /> - {% if commit.pretty_diff %} - <pre class="large">{{ commit.pretty_diff }}</pre> - {% else %} - {% if commit.rawdiff %} - <pre class="large">{{ commit.rawdiff|escape|wordwrap:80 }}</pre> - {% else %}No diff{% endif %} - {% endif %} -{% else %} - <h3>No such object: {{ hash }}</h3> -{% endif %} {% endblock %} |