Mercurial > hg > Blog
annotate themes/tuxlite_tbs/templates/simple_comments.html @ 11:bb1f035109da
turn off comments for the eclipse validation article which attracts comment spam
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Thu, 18 Jul 2013 02:19:49 +0200 |
parents | bd8e75de187a |
children | 7bfdc2b1d768 |
rev | line source |
---|---|
10
bd8e75de187a
use the simple_comments plugin instead of juvia now
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
1 {% if article.comments %} |
bd8e75de187a
use the simple_comments plugin instead of juvia now
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
2 {% for comment in article.comments %} |
bd8e75de187a
use the simple_comments plugin instead of juvia now
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
3 <div style="border-bottom: 1px dotted #CCCCCC; padding: 20px 0px 20px 0px;"> |
bd8e75de187a
use the simple_comments plugin instead of juvia now
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
4 <div style="font-weight: bold;"> |
bd8e75de187a
use the simple_comments plugin instead of juvia now
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
5 {{ comment.Author }} |
bd8e75de187a
use the simple_comments plugin instead of juvia now
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
6 </div> |
bd8e75de187a
use the simple_comments plugin instead of juvia now
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
7 <div style="font-size: 80%; padding: 0px 0px 10px 0px;"> |
bd8e75de187a
use the simple_comments plugin instead of juvia now
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
8 {{ comment.Date }} |
bd8e75de187a
use the simple_comments plugin instead of juvia now
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
9 </div> |
bd8e75de187a
use the simple_comments plugin instead of juvia now
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
10 <div> |
bd8e75de187a
use the simple_comments plugin instead of juvia now
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
11 {{ comment.text }} |
bd8e75de187a
use the simple_comments plugin instead of juvia now
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
12 </div> |
bd8e75de187a
use the simple_comments plugin instead of juvia now
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
13 </div> |
bd8e75de187a
use the simple_comments plugin instead of juvia now
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
14 {% endfor %} |
bd8e75de187a
use the simple_comments plugin instead of juvia now
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
15 {% endif %} |
11
bb1f035109da
turn off comments for the eclipse validation article which attracts comment spam
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
10
diff
changeset
|
16 {% if article.metadata.allowcomments %} |
10
bd8e75de187a
use the simple_comments plugin instead of juvia now
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
17 <div style="padding: 20px 0px 0px 0px;"> |
bd8e75de187a
use the simple_comments plugin instead of juvia now
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
18 <div style="font-size: 120%;"> |
bd8e75de187a
use the simple_comments plugin instead of juvia now
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
19 Leave a comment |
bd8e75de187a
use the simple_comments plugin instead of juvia now
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
20 </div> |
bd8e75de187a
use the simple_comments plugin instead of juvia now
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
21 <form action="http://xanthippe.dyndns.org/blog-comments/simple_comments.php" method="POST"> |
bd8e75de187a
use the simple_comments plugin instead of juvia now
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
22 <input type="hidden" name="Slug" value="{{ article.slug }}"> |
bd8e75de187a
use the simple_comments plugin instead of juvia now
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
23 <div style="padding: 10px 0px 0px 0px;"> |
bd8e75de187a
use the simple_comments plugin instead of juvia now
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
24 Your name: <input type="text" name="Author"> |
bd8e75de187a
use the simple_comments plugin instead of juvia now
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
25 </div> |
bd8e75de187a
use the simple_comments plugin instead of juvia now
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
26 <div> |
bd8e75de187a
use the simple_comments plugin instead of juvia now
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
27 <textarea rows="5" cols="60" name="Comment"></textarea> |
bd8e75de187a
use the simple_comments plugin instead of juvia now
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
28 </div> |
bd8e75de187a
use the simple_comments plugin instead of juvia now
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
29 <div> |
bd8e75de187a
use the simple_comments plugin instead of juvia now
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
30 <input type="submit" value="Submit"> |
bd8e75de187a
use the simple_comments plugin instead of juvia now
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
31 </div> |
bd8e75de187a
use the simple_comments plugin instead of juvia now
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
32 </form> |
11
bb1f035109da
turn off comments for the eclipse validation article which attracts comment spam
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
10
diff
changeset
|
33 </div> |
bb1f035109da
turn off comments for the eclipse validation article which attracts comment spam
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
10
diff
changeset
|
34 {% endif %} |