diff options
Diffstat (limited to 'bn_django/journal/templates/journal/videoartifact_detail.html')
-rw-r--r-- | bn_django/journal/templates/journal/videoartifact_detail.html | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/bn_django/journal/templates/journal/videoartifact_detail.html b/bn_django/journal/templates/journal/videoartifact_detail.html new file mode 100644 index 0000000..09b0ac2 --- /dev/null +++ b/bn_django/journal/templates/journal/videoartifact_detail.html @@ -0,0 +1,35 @@ +{% extends "journal/base.html" %} + +{% load comments %} +{% block path %}<a href="/artifacts/">artifacts</a> + »<a href="/artifacts/videos/"> videos</a> + »<a href="../{{ object.id }}"> {{ object.title }}</a> +{% endblock %} + +{% block title %} +{% if object.title %}{{ object.title }}{% else %}[Untitled Video]{% endif %} +{% endblock %} + +{% block content %}<br /> +{% if object %}<div class="right_stuff"> +<p class="date">Video uploaded {{ object.date }}, +{% if object.author %}<br />by {{ object.author }},{% endif %} +{% if object.last_edited %}<br />last edited {{ object.last_edited }}.{% endif %} +</div> +{% if object.external_url %}View this video <a href="{{object.external_url}}">here</a><br /><br />{%endif%} +<a href="{{object.filepath}}">Download the video.</a> +<br /><br />The video codec is {{ object.codec }}.<br /> +{% if object.html_caption %}<br /><br />{{object.html_caption|safe}}{% endif %} +{% else %} +<p>This is not the artifact you are looking for.</p> +{% endif %} +{% endblock %} + +{% block commentary %} +<div class='content' id='commentary'> +{% get_comment_list for object as comments %} +{% include "comment_list" %} +<h3>Post a comment</h3> +{% render_comment_form for object %} +</div> +{% endblock %} |