summaryrefslogtreecommitdiffstats
path: root/bn_django/git_browse/templates/git_browse/base.html
diff options
context:
space:
mode:
authorbnewbold <bnewbold@manus.(none)>2007-02-18 13:53:30 -0800
committerbnewbold <bnewbold@manus.(none)>2007-02-18 13:53:30 -0800
commit0c7c01d4ff1635cb7f04bed3d099b30b967f44bd (patch)
treef5a953687406c932573599b3de95d007148139cd /bn_django/git_browse/templates/git_browse/base.html
parent9077a48cf9aeb06ddd751cfa7497fd636ed489a6 (diff)
downloadbnewnet-0.0.0.tar.gz
bnewnet-0.0.0.zip
renamed a few templates, further work on git_browsev0.0.0
Diffstat (limited to 'bn_django/git_browse/templates/git_browse/base.html')
-rw-r--r--bn_django/git_browse/templates/git_browse/base.html31
1 files changed, 31 insertions, 0 deletions
diff --git a/bn_django/git_browse/templates/git_browse/base.html b/bn_django/git_browse/templates/git_browse/base.html
index 94d9808..0edb5a7 100644
--- a/bn_django/git_browse/templates/git_browse/base.html
+++ b/bn_django/git_browse/templates/git_browse/base.html
@@ -1 +1,32 @@
{% extends "base.html" %}
+
+{% block path %}
+ <a href="/code/">code</a> &raquo;
+{% if object %}
+ <a href="/code/{{ object.slug }}/">{{ object.name }}</a>
+{% endif %}
+{% endblock %}
+
+{% block title %}
+{% if object %}
+{{ object.name }}
+{% endif %}
+{% endblock %}
+
+{% block content %}
+{% if object %}
+ {% block gitbrowse %}
+ {% endblock %}
+ <br />
+ <span class="righty">
+ <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 %}
+
+{% endblock %}