aboutsummaryrefslogtreecommitdiffstats
path: root/bn_django/journal/templates/journal/linkartifact_detail.html
blob: 70f965681796a17c9b48c9073036dec9b87c16f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{% extends "journal/base.html" %}

{% load comments %}

{% block path %}<a href="/artifacts/">artifacts</a> 
  &raquo;<a href="/artifacts/links/"> links</a>
  &raquo;<a href="../{{ object.id }}"> {{ object.title }}</a>
{% endblock %}

{% block title %} 
{% if object.title %}{{ object.title }}{% else %}[Untitled Link]{% endif %}
{% endblock %}

{% block content %}<br />
{% if object %}<div class="right_stuff">
<p class="date">Link created {{ object.date }}, 
{% if object.author %}<br />by {{ object.author }},{% endif %}
{% if object.last_edited %}<br />last edited {{ object.last_edited }}.{% endif %}
</div>
<b><a href="{{object.url}}">{{object.url}}</a></b>
{% 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 %}