aboutsummaryrefslogtreecommitdiffstats
path: root/bn_django/git_browse/templates
diff options
context:
space:
mode:
Diffstat (limited to 'bn_django/git_browse/templates')
-rw-r--r--bn_django/git_browse/templates/git_browse/full_log.html4
-rw-r--r--bn_django/git_browse/templates/git_browse/tree.html2
2 files changed, 5 insertions, 1 deletions
diff --git a/bn_django/git_browse/templates/git_browse/full_log.html b/bn_django/git_browse/templates/git_browse/full_log.html
index 75ea2ab..d2a1311 100644
--- a/bn_django/git_browse/templates/git_browse/full_log.html
+++ b/bn_django/git_browse/templates/git_browse/full_log.html
@@ -5,7 +5,9 @@
<h3>Full Log</h3><br />
{% for item in log_objs %}
<hr>
- <b>Hash: </b>{{ item.hash }}
+ <b>Hash: </b>
+ <a href="/code/{{object.slug}}/commit/{{ item.hash }}/">
+ <span class="hash">{{ item.hash }}</span></a>
<br /><b>Author: </b>{{ item.author }}
<br /><b>Date: </b>{{ item.date }}
<br /><b>Comment: </b>
diff --git a/bn_django/git_browse/templates/git_browse/tree.html b/bn_django/git_browse/templates/git_browse/tree.html
index 79a8f39..b177af8 100644
--- a/bn_django/git_browse/templates/git_browse/tree.html
+++ b/bn_django/git_browse/templates/git_browse/tree.html
@@ -4,6 +4,8 @@
<h3>Tree sha1 hash:</h3>
<span class="hash">{{ hash }}</span>
+ <h3>Shortlog:</h3>
+ {% include "git_browse/shortlog_table" %}
<h3>Directory listing:</h3>
{% include "git_browse/tree_table" %}
{% endblock %}