]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - templates/inlinepage.tmpl
fix support of a single dependency that combines links and exists types
[git.ikiwiki.info.git] / templates / inlinepage.tmpl
index 984d33ceff6298ca81c33eda7075c46bf4b9bb47..3c0b933159b168fe94119a51258b0d0f49baec06 100644 (file)
@@ -58,9 +58,13 @@ License: <TMPL_VAR LICENSE>
 <TMPL_IF NAME="EDITURL">
 <li><a href="<TMPL_VAR EDITURL>" rel="nofollow">Edit</a></li>
 </TMPL_IF>
+<TMPL_IF NAME="COMMENTSLINK">
+<li><TMPL_VAR COMMENTSLINK></li>
+<TMPL_ELSE>
 <TMPL_IF NAME="DISCUSSIONLINK">
 <li><TMPL_VAR DISCUSSIONLINK></li>
 </TMPL_IF>
+</TMPL_IF>
 </ul>
 </div><!--.actions-->
 </TMPL_IF>