From dcf596791d3afc7ad6d54b038965b758669d9843 Mon Sep 17 00:00:00 2001 From: Matthias Andreas Benkard Date: Tue, 22 Mar 2011 18:52:17 +0100 Subject: Add a comment moderation page. --- templates/article.html | 10 +--------- templates/comment.html | 9 +++++++++ templates/comment_moderation_page.html | 28 ++++++++++++++++++++++++++++ 3 files changed, 38 insertions(+), 9 deletions(-) create mode 100644 templates/comment.html create mode 100644 templates/comment_moderation_page.html (limited to 'templates') diff --git a/templates/article.html b/templates/article.html index bd8b10a..2df9654 100644 --- a/templates/article.html +++ b/templates/article.html @@ -44,15 +44,7 @@

{comments-heading|html}

{.repeated section comments} -
- -
- {body} -
-
+ {@|comment-html} {.end} {.section comment-submission} diff --git a/templates/comment.html b/templates/comment.html new file mode 100644 index 0000000..dbcb759 --- /dev/null +++ b/templates/comment.html @@ -0,0 +1,9 @@ +
+ +
+ {body} +
+
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} + +{.end} + +{.section body} +

{site-name|html}

+
{title}
+ + {.repeated section comments} +
+
+ +
+ | + | + +
+
+ +

+ Comment on article + “{article.title}”: +

+ {@|comment-html} +
+ {.end} +{.end} -- cgit v1.2.3