diff options
author | bnewbold <bnewbold@manus.(none)> | 2007-02-20 21:38:47 -0800 |
---|---|---|
committer | bnewbold <bnewbold@manus.(none)> | 2007-02-20 21:38:47 -0800 |
commit | 894b8def59da135c0fadf428f9c38e513ceb2c64 (patch) | |
tree | e3867076d050b065055b417618f9cc3652649e5e /bn_django/git_browse/templates | |
parent | 280816f0acaf20530542109bb31f6da8e15d979e (diff) | |
download | bnewnet-894b8def59da135c0fadf428f9c38e513ceb2c64.tar.gz bnewnet-894b8def59da135c0fadf428f9c38e513ceb2c64.zip |
ugh, broken but need a break
Diffstat (limited to 'bn_django/git_browse/templates')
-rw-r--r-- | bn_django/git_browse/templates/git_browse/blob.html | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/bn_django/git_browse/templates/git_browse/blob.html b/bn_django/git_browse/templates/git_browse/blob.html new file mode 100644 index 0000000..1fb1437 --- /dev/null +++ b/bn_django/git_browse/templates/git_browse/blob.html @@ -0,0 +1,13 @@ +{% extends "git_browse/base.html" %} + +{% block gitbrowse %} {% if contents %} + <h3>Blob sha1 hash</h3> + {{ hash }}<br /> + <h3>Size</h3> + {{ size|filesizeformat }}<br /> + <h3><a href="zip">Download zip</a></h3> + <h3>Raw contents</h3> + <pre class="large">{{ contents }}</pre> +{% else %} + <h3>No such object: {{ hash }}</h3> +{% endif %} {% endblock %} |