forked from rc/aircox
fix conflict issue
This commit is contained in:
@ -6,7 +6,7 @@
|
||||
{% endblock %}
|
||||
|
||||
{% block pre_title %}
|
||||
<div class="pre_title">
|
||||
<div class="pre_title metadata">
|
||||
{% if object.thread %}
|
||||
<div class="threads">
|
||||
{{ object|threads:' > '|safe }}
|
||||
|
@ -5,7 +5,7 @@
|
||||
|
||||
{% block section_content %}
|
||||
{{ form.non_field_errors }}
|
||||
<form action="" method="POST" class="comment-form">
|
||||
<form action="" method="POST" class="comment_form">
|
||||
{% csrf_token %}
|
||||
{% render_honeypot_field "hp_website" %}
|
||||
<div>
|
||||
@ -25,13 +25,16 @@
|
||||
<button type="submit">{% trans "Post!" %}</button>
|
||||
</div>
|
||||
</form>
|
||||
<ul style="padding:0; margin:0">
|
||||
<div class="comment_list">
|
||||
{% for item in object_list %}
|
||||
<li id="comment-{{ item.id }}" class="{{item.css}}">
|
||||
<div id="comment-{{ item.id }}" class="comment_item">
|
||||
{{ item.content }}
|
||||
|
||||
<div class="info">
|
||||
<a href="{% if item.url %}{{ item.url }}{% else %}#{% endif %}">{{ item.author }}</a>
|
||||
<div class="metadata">
|
||||
<a href="{% if item.url %}{{ item.url }}{% else
|
||||
%}#{% endif %}" class="author">
|
||||
{{ item.author }}
|
||||
</a>
|
||||
|
||||
<time datetime="{{ item.date }}">
|
||||
{{ item.date|date:'l d F Y' }},
|
||||
@ -40,9 +43,9 @@
|
||||
|
||||
<a href="#comment-{{ item.id }}">#{{ item.id }}</a>
|
||||
</div>
|
||||
</li>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
||||
|
||||
|
Reference in New Issue
Block a user