]> sipb.mit.edu Git - ikiwiki.git/commitdiff
Avoid showing 'Add a comment' link at the bottom of the comment post form.
authorJoey Hess <joey@kitenet.net>
Thu, 22 Jul 2010 19:02:04 +0000 (15:02 -0400)
committerJoey Hess <joey@kitenet.net>
Thu, 22 Jul 2010 19:02:04 +0000 (15:02 -0400)
Since misctemplate is called with a page context, the comments plugin
thinks it should add that, as well as the comment link in the actionbar.
I kept the comment link because a quick link back to the comments to a page
is sorta useful.

debian/changelog
templates/page.tmpl

index db828f5806a0436beb164e9a19ed8ecf90090fee..8013e5cdd67571e99ea6bb2eb93f111113560c18 100644 (file)
@@ -22,6 +22,7 @@ ikiwiki (3.20100705) UNRELEASED; urgency=low
     conflicting files/directories in the destdir.
   * Updated French program translation from Philippe Batailler. Closes: #589423
   * po: Fix selflink display on tranlsated pages. (intrigeri)
     conflicting files/directories in the destdir.
   * Updated French program translation from Philippe Batailler. Closes: #589423
   * po: Fix selflink display on tranlsated pages. (intrigeri)
+  * Avoid showing 'Add a comment' link at the bottom of the comment post form.
 
  -- Joey Hess <joeyh@debian.org>  Mon, 05 Jul 2010 13:59:42 -0400
 
 
  -- Joey Hess <joeyh@debian.org>  Mon, 05 Jul 2010 13:59:42 -0400
 
index 703a6d8de0db416416dc5f8fc171972c6edbda77..8659018a05fef3d2915287e66dcf23b6140b65aa 100644 (file)
 <TMPL_VAR CONTENT>
 <TMPL_IF HTML5></section><TMPL_ELSE></div></TMPL_IF>
 
 <TMPL_VAR CONTENT>
 <TMPL_IF HTML5></section><TMPL_ELSE></div></TMPL_IF>
 
+<TMPL_UNLESS DYNAMIC>
 <TMPL_IF COMMENTS>
 <TMPL_IF HTML5><section id="comments"><TMPL_ELSE><div id="comments"></TMPL_IF>
 <TMPL_VAR COMMENTS>
 <TMPL_IF COMMENTS>
 <TMPL_IF HTML5><section id="comments"><TMPL_ELSE><div id="comments"></TMPL_IF>
 <TMPL_VAR COMMENTS>
 </TMPL_IF>
 <TMPL_IF HTML5></section><TMPL_ELSE></div></TMPL_IF>
 </TMPL_IF>
 </TMPL_IF>
 <TMPL_IF HTML5></section><TMPL_ELSE></div></TMPL_IF>
 </TMPL_IF>
+</TMPL_UNLESS>
 
 </div>
 
 
 </div>