/
document_detail.html
34 lines (25 loc) · 1.2 KB
/
document_detail.html
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 "base_docs.html" %}
{% block title %}Documentation | {{ object.title }}{% endblock %}
{% block content %}
{{ object.get_content }}
{% load comments %}
{% get_free_comment_list for docs.document object.id as comment_list %}
<div id="content-secondary">
<h2 id="comments">Comments</h2>
{% for comment in comment_list %}
<div class="comment" id="c{{ comment.id }}">
<h3>{{ comment.person_name|escape }} <span class="small quiet">{{ comment.submit_date|date:"F j, Y" }} at {{ comment.submit_date|date:"P" }}</span></h3>
{{ comment.comment|escape|urlizetrunc:"40"|linebreaks }}
</div>
{% endfor %}
<h2>Post a comment</h2>
<p class="small quiet"><strong>Note:</strong> Please only use the comments for
questions/criticisms/suggestions on the docs. This is <strong>not</strong> the place
to ask technical support questions. For tech support, ask in the IRC
channel or post to the <a href="http://groups-beta.google.com/group/django-users">
django-users list</a>. Comments will be periodically reviewed, integrated into
the documentation proper and removed.</p>
{% free_comment_form for docs.document object.id %}
</div>
{% endblock %}
{% block content-related %}<h2>Contents</h2>{{ object.get_toc }}{% endblock %}