]> sipb.mit.edu Git - ikiwiki.git/blobdiff - templates/comment.tmpl
comments: if the remove plugin is enabled, append a "Remove comment" link
[ikiwiki.git] / templates / comment.tmpl
index 6f2b1619ef08127f17bc2fc03049be5353bbab0d..582efccb8d25f667b4dd334068565935d779d516 100644 (file)
@@ -39,4 +39,15 @@ Comment by
 
 &mdash; <TMPL_VAR CTIME>
 </div>
+
+<TMPL_IF NAME="HAVE_ACTIONS">
+<div class="actions">
+<ul>
+<TMPL_IF NAME="REMOVEURL">
+<li><a href="<TMPL_VAR REMOVEURL>" rel="nofollow">Remove comment</a></li>
+</TMPL_IF>
+</ul>
+</div><!--.actions-->
+</TMPL_IF>
+
 </div><!--.comment-->