diff options
Diffstat (limited to 'bn_django/git_browse/templates/git_browse/repository_raw_output.html')
-rw-r--r-- | bn_django/git_browse/templates/git_browse/repository_raw_output.html | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/bn_django/git_browse/templates/git_browse/repository_raw_output.html b/bn_django/git_browse/templates/git_browse/repository_raw_output.html new file mode 100644 index 0000000..3ce6894 --- /dev/null +++ b/bn_django/git_browse/templates/git_browse/repository_raw_output.html @@ -0,0 +1,29 @@ +{% extends "git_browse/base.html" %} + +{% block path %} + <a href="../">code</a> » +{% if object %} + <a href="/code/{{ object.slug }}/">{{ object.name }}</a> +{% endif %} +{% endblock %} + +{% block title %} +{% if object %} +Repository: {{ object.name }} +{% endif %} +{% endblock %} + +{% block content %} +{% if object %} + {% if raw_content %} + <br /> + <pre> + +{{ raw_content }} + </pre> + {% endif %} +{% else %} +<p>No such repository!</p> +{% endif %} + +{% endblock %} |