diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2008-12-20 17:58:56 -0500 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2008-12-20 17:58:56 -0500 |
commit | 0f03af381625bc16d51140a949ded304c3686e7b (patch) | |
tree | 4b3d2794ab490e279176337e32e416e6a4879ef7 /templates/page.tmpl | |
parent | 92b48bab99e04e7c041434e106179822bd2b1e88 (diff) | |
parent | f94665800c9353f2b0f190190c0490f51a897973 (diff) |
Merge commit 'smcv/comments'
Diffstat (limited to 'templates/page.tmpl')
-rw-r--r-- | templates/page.tmpl | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/templates/page.tmpl b/templates/page.tmpl index 21abc979d..f75491127 100644 --- a/templates/page.tmpl +++ b/templates/page.tmpl @@ -74,13 +74,12 @@ <TMPL_IF COMMENTS> <div id="comments"> <TMPL_VAR COMMENTS> -<TMPL_UNLESS COMMENTURL> -<div class="addcomment">Comments on this page are closed.</div> -</TMPL_UNLESS> -<TMPL_IF COMMENTURL> +<TMPL_IF ADDCOMMENTURL> <div class="addcomment"> -<a href="<TMPL_VAR COMMENTURL>">Add a comment</a> +<a href="<TMPL_VAR ADDCOMMENTURL>">Add a comment</a> </div> +<TMPL_ELSE> +<div class="addcomment">Comments on this page are closed.</div> </TMPL_IF> </div> </TMPL_IF> |