diff options
Diffstat (limited to 'bn_django/git_browse/templates/git_browse/obj.html')
-rw-r--r-- | bn_django/git_browse/templates/git_browse/obj.html | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/bn_django/git_browse/templates/git_browse/obj.html b/bn_django/git_browse/templates/git_browse/obj.html new file mode 100644 index 0000000..be0b556 --- /dev/null +++ b/bn_django/git_browse/templates/git_browse/obj.html @@ -0,0 +1,12 @@ +{% extends "git_browse/base.html" %} + +{% block gitbrowse %} + {% if contents %} + <h3>Object sha1 hash: {{ hash }}<br /> + Size: {{ size }} kB<br /> + Type: "{{ type }}"</h3> + <pre>{{ contents }}</pre> + {% else %} + <h3>No such object: {{ hash }}</h3> + {% endif %} +{% endblock %} |