tablejohn/templates/commit_hash.html

39 lines
1,021 B
HTML

{% extends "base.html" %}
{% block title %}{{ summary }}{% endblock %}
{% block body %}
<h2>Commit</h2>
<div class="commit">
<span class="hash">commit {{ hash }}</span>
<dl>
<dt>Author:</dt>
<dd>{{ author }}</dd>
<dt>AuthorDate:</dt>
<dd>{{ author_date }}</dd>
<dt>Commit:</dt>
<dd>{{ commit }}</dd>
<dt>CommitDate:</dt>
<dd>{{ commit_date }}</dd>
{% for commit in parents %}
<dt>Parent:</dt>
<dd><a href="{{ commit.hash }}">{{ commit.description }}</a></dd>
{% endfor %}
{% for commit in children %}
{% if commit.tracked %}
<dt>Child:</dt>
<dd><a href="{{ commit.hash }}">{{ commit.description }}</a></dd>
{% else %}
<dt class="untracked">Child:</dt>
<dd class="untracked"><a href="{{ commit.hash }}">{{ commit.description }}</a></dd>
{% endif %}
{% endfor %}
</dl>
<pre class="message">{{ message }}</pre>
</div>
{% endblock %}