diff options
author | bnewbold <bnewbold@manus.(none)> | 2007-02-08 00:40:46 -0800 |
---|---|---|
committer | bnewbold <bnewbold@manus.(none)> | 2007-02-08 00:40:46 -0800 |
commit | 9077a48cf9aeb06ddd751cfa7497fd636ed489a6 (patch) | |
tree | d2e946818d743c9c5b72883d60a208b07c9f7710 /bn_django/git_browse/templates/git_browse/repository_raw_output.html | |
parent | b88372f0327976c31e6b508b26729bab60743f82 (diff) | |
download | bnewnet-9077a48cf9aeb06ddd751cfa7497fd636ed489a6.tar.gz bnewnet-9077a48cf9aeb06ddd751cfa7497fd636ed489a6.zip |
first work on git_browser app
for now just returns raw text from shell commands
also tries to track repositories... but UI for selecting FilePathFields sucks so have to chose slugs manually for now... i think django support for this will come soon so i'm not bothering.
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 %} |