Finalize comments

This commit is contained in:
2012-10-20 19:05:29 +02:00
parent 3c3070cf31
commit b87a78df59
5 changed files with 115 additions and 57 deletions

View File

@@ -15,8 +15,7 @@
<input type="submit" name="edit" value="Edit" /><input type="button" name="preview" value="Preview" onClick="previewPost();"/><input type="submit" name="cancel" value="Cancel" />
</form>
<div class="comments">
{% for comment_list in comments %}
{% for comment in comment_list %}
{% for comment in comments %}
<div class="comment">
<div class="infos">
<a href="/comment/edit/{{ comment.id }}">#{{ comment.id }}</a> <span class="author">{{ comment.author }}</span> <span class="mail">{{ comment.email|default:"no mail" }}</span> <span class="date">{{ comment.date|date:"D d M Y" }}<span> <a href="/comment/delete/{{ comment.id }}">delete</a>
@@ -25,9 +24,5 @@
{{ comment.the_comment }}
</div>
{% endfor %}
{% for comment in comment_list %}
</div>
{% endfor %}
</div>
{% endfor %}
{% endblock %}