summaryrefslogtreecommitdiff
path: root/templates/comment_moderation_page.html
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <code@mail.matthias.benkard.de>2011-03-22 18:52:17 +0100
committerMatthias Andreas Benkard <code@mail.matthias.benkard.de>2011-03-22 18:52:17 +0100
commitdcf596791d3afc7ad6d54b038965b758669d9843 (patch)
tree5698bea64946092701b4e1dac04c7114f10c7e1b /templates/comment_moderation_page.html
parent2bbecbc7e755a35a587075584c442440bece78f0 (diff)
Add a comment moderation page.
Diffstat (limited to 'templates/comment_moderation_page.html')
-rw-r--r--templates/comment_moderation_page.html28
1 files changed, 28 insertions, 0 deletions
diff --git a/templates/comment_moderation_page.html b/templates/comment_moderation_page.html
new file mode 100644
index 0000000..3e13bd9
--- /dev/null
+++ b/templates/comment_moderation_page.html
@@ -0,0 +1,28 @@
+{.section head}
+<link rel="stylesheet" type="text/css"
+ href="{root|html-attr-value}style/journal.css" />
+{.end}
+
+{.section body}
+ <h1 id="main-title">{site-name|html}</h1>
+ <div id="main-subtitle">{title}</div>
+
+ {.repeated section comments}
+ <div class="comment-for-moderation" style="border: 1px solid #444; margin: 10px; padding: 5px;">
+ <form id="editing-form" method="POST" accept-charset="UTF-8">
+ <input type="hidden" name="revision-id" value="{revision-id}" />
+ <div>
+ <input type="submit" name="mark-as-spam" value="{spam-label|html-attr-value}" /> |
+ <input type="submit" name="reject" value="{reject-label|html-attr-value}" /> |
+ <input type="submit" name="approve" value="{approve-label|html-attr-value}" />
+ </div>
+ </form>
+
+ <p>
+ Comment on article
+ <a href="{article.link|html-attr-value}">“{article.title}”</a>:
+ </p>
+ {@|comment-html}
+ </div>
+ {.end}
+{.end}