From f31b896774b5d3a8adc07db846a5ae87f6e097aa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gr=C3=A9goire=20D=C3=A9trez?= <gregoire.detrez@gu.se>
Date: Mon, 15 Sep 2014 22:05:53 +0200
Subject: Add comment to the template

---
 templates/page.tmpl | 13 +++++++++++++
 1 file changed, 13 insertions(+)

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>
 
-- 
cgit v1.2.3