summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorGrégoire Détrez <gregoire.detrez@gu.se>2014-09-15 22:05:53 +0200
committerGrégoire Détrez <gregoire.detrez@gu.se>2014-09-15 22:06:11 +0200
commitf31b896774b5d3a8adc07db846a5ae87f6e097aa (patch)
tree811d1891cf9a11842038a462fd4c29fe209c26d5 /templates
parent07394d6b3ad4cb8042183ea1ac912130eb97b741 (diff)
Add comment to the template
Diffstat (limited to 'templates')
-rw-r--r--templates/page.tmpl13
1 files changed, 13 insertions, 0 deletions
diff --git a/templates/page.tmpl b/templates/page.tmpl
index b25db4e..6b527ad 100644
--- a/templates/page.tmpl
+++ b/templates/page.tmpl
@@ -126,6 +126,19 @@
</TMPL_IF>
</p>
+ <TMPL_IF COMMENTS>
+ <div id="comments">
+ <TMPL_VAR COMMENTS>
+ <TMPL_IF ADDCOMMENTURL>
+ <div class="addcomment">
+ <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>
+
</div>
</div>