aboutsummaryrefslogtreecommitdiffstats
path: root/bn_django/git_browse/templates
diff options
context:
space:
mode:
authorbnewbold <bnewbold@manus.(none)>2007-02-20 19:22:14 -0800
committerbnewbold <bnewbold@manus.(none)>2007-02-20 19:22:14 -0800
commit7adab6520975d9a8650a214ca519f2357707bd65 (patch)
treed04da2f2c0829198b1b02e87ca1de71ddb3f8b03 /bn_django/git_browse/templates
parent3395a94951e7f9dce5c774b7fb38159052751869 (diff)
downloadbnewnet-7adab6520975d9a8650a214ca519f2357707bd65.tar.gz
bnewnet-7adab6520975d9a8650a214ca519f2357707bd65.zip
git_browse: actually moved heads_table and tags_table to seperate files
created shortlog_table
Diffstat (limited to 'bn_django/git_browse/templates')
-rw-r--r--bn_django/git_browse/templates/git_browse/base.html9
-rw-r--r--bn_django/git_browse/templates/git_browse/repository_info.html4
2 files changed, 5 insertions, 8 deletions
diff --git a/bn_django/git_browse/templates/git_browse/base.html b/bn_django/git_browse/templates/git_browse/base.html
index 93814c1..d23ab55 100644
--- a/bn_django/git_browse/templates/git_browse/base.html
+++ b/bn_django/git_browse/templates/git_browse/base.html
@@ -9,9 +9,11 @@
{% endblock %}
{% block path %}
- <a href="/code/">code</a> &raquo;
+{{ block.super }}
{% if object %}
- <a href="/code/{{ object.slug }}/">{{ object.name }}</a>
+ <a href="/code/{{ object.slug }}/">{{ object.name }}</a>
+ [<a href="/code/{{ object.slug }}/tree/">browse</a>,
+ <a href="/code/{{ object.slug }}/log/">log</a>]
{% endif %}
{% endblock %}
@@ -30,9 +32,6 @@
<a href="/code/{{ object.slug }}/tree/">browse tree</a> - <a href="/code/{{ object.slug }}/log">full log</a>
</span>
<br />
- {% if raw %}
- <pre>{{raw}}</pre>
- {% endif %}
{% else %}
<p>No such repository!</p>
{% endif %}
diff --git a/bn_django/git_browse/templates/git_browse/repository_info.html b/bn_django/git_browse/templates/git_browse/repository_info.html
index 51794d3..f45eeb8 100644
--- a/bn_django/git_browse/templates/git_browse/repository_info.html
+++ b/bn_django/git_browse/templates/git_browse/repository_info.html
@@ -2,9 +2,8 @@
{% block gitbrowse %}
{{ object.description }}
-{% if shortlog %}
<h3>Shortlog (<a href="/code/{{object.slug}}/log/">full log</a>)</h3>
-<pre>{{ shortlog }}</pre>
+{% include "git_browse/shortlog_table" %}
<h3>Heads (<a href="/code/{{object.slug}}/tree/">browse</a>)</h3>
{% include "git_browse/heads_table" %}
<h3>Tags (<a href="/code/{{object.slug}}/tree/">browse</a>)</h3>
@@ -12,5 +11,4 @@
<h3>Filelist (<a href="/code/{{object.slug}}/tree/">browse tree</a>)</h3>
{% if filelist %} <pre class="large">{{ filelist }}</pre>
{% else %}No files!{% endif %}
-{% endif %}
{% endblock %}