diff options
author | bnewbold <bnewbold@manus.(none)> | 2007-02-18 13:53:30 -0800 |
---|---|---|
committer | bnewbold <bnewbold@manus.(none)> | 2007-02-18 13:53:30 -0800 |
commit | 0c7c01d4ff1635cb7f04bed3d099b30b967f44bd (patch) | |
tree | f5a953687406c932573599b3de95d007148139cd /bn_django/git_browse/templates/git_browse/base.html | |
parent | 9077a48cf9aeb06ddd751cfa7497fd636ed489a6 (diff) | |
download | bnewnet-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.html | 31 |
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> » +{% 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 %} |