diff options
author | bnewbold <bnewbold@eta.mit.edu> | 2009-01-25 13:05:25 -0500 |
---|---|---|
committer | bnewbold <bnewbold@eta.mit.edu> | 2009-01-25 13:05:25 -0500 |
commit | 75bc6a976f98e36a9426e6115d3f628a8fa73762 (patch) | |
tree | abf42e0d4b94146506e0208a08afe8758eb11a93 /bn_django/journal/templates/journal/codeartifact_list.html | |
parent | 296dc07f010d8692028db682d02ef3e88e525f01 (diff) | |
download | bnewnet-75bc6a976f98e36a9426e6115d3f628a8fa73762.tar.gz bnewnet-75bc6a976f98e36a9426e6115d3f628a8fa73762.zip |
whew artifact stuff, all basic style
Diffstat (limited to 'bn_django/journal/templates/journal/codeartifact_list.html')
-rw-r--r-- | bn_django/journal/templates/journal/codeartifact_list.html | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/bn_django/journal/templates/journal/codeartifact_list.html b/bn_django/journal/templates/journal/codeartifact_list.html new file mode 100644 index 0000000..ee52afd --- /dev/null +++ b/bn_django/journal/templates/journal/codeartifact_list.html @@ -0,0 +1,27 @@ +{% extends "journal/base.html" %} + +{% block path %}<a href="/artifacts/">artifacts</a> + »<a href="/artifacts/code/"> code</a> +{% endblock %} + +{% block title %}Code Snippets{% endblock %} + +{% block content %} +<br /> +{% if object_list %} +<ul> + {% for item in object_list %} + <li /><a href="{{ item.id }}/">{{item.title}}</a> + {% if item.language %} ({{item.language}}){% endif %} + {% endfor %} +</ul> +{% else %} +<p>No code snippets have been uploaded yet.</p> +{% endif %} + +{% if is_paginated %} {% if has_previous %} +<a href="./?page={{ previous }}">« previous</a> | +{% endif %} {% if has_next %} +<a href="./?page={{ next }}">next »</a> +{% endif %} {% endif %} +{% endblock %} |