summaryrefslogtreecommitdiffstats
path: root/bn_django/git_browse/templates/git_browse/base.html
diff options
context:
space:
mode:
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 %}