summaryrefslogtreecommitdiffstats
path: root/templates/page.tmpl
diff options
context:
space:
mode:
authorGrégoire Détrez <gregoire.detrez@gu.se>2014-09-15 20:28:56 +0200
committerGrégoire Détrez <gregoire.detrez@gu.se>2014-09-15 20:28:56 +0200
commitc276c801329e51cfecc9309431501b1801783049 (patch)
treefe958c2ce5bacdbff51a0be4957dbc31a634b501 /templates/page.tmpl
parentbe78f8efb56f10e5e689c85b794fa62e28292fcc (diff)
Hide "last modified" if there is no date
Diffstat (limited to 'templates/page.tmpl')
-rw-r--r--templates/page.tmpl8
1 files changed, 5 insertions, 3 deletions
diff --git a/templates/page.tmpl b/templates/page.tmpl
index 9bc54c2..c8298e5 100644
--- a/templates/page.tmpl
+++ b/templates/page.tmpl
@@ -111,15 +111,17 @@
</TMPL_LOOP>
</TMPL_IF>
<i>
- <span class="glyphicon glyphicon-calendar"></span> Last modified <TMPL_VAR MTIME>
+ <TMPL_IF MTIME>
+ <span class="glyphicon glyphicon-calendar"></span> Last modified <TMPL_VAR MTIME>
+ </TMPL_IF>
<TMPL_IF HISTORYURL>
| <span class="glyphicon glyphicon-time"></span> <a href="<TMPL_VAR HISTORYURL>">History</a>
</TMPL_IF>
<TMPL_IF GETSOURCEURL>
- | <b>&lt;&gt;</b> <a href="<TMPL_VAR GETSOURCEURL>">Show source</a>
+ | <b>&lt;&gt;</b> <a href="<TMPL_VAR GETSOURCEURL>">Show source</a>
</TMPL_IF>
<TMPL_IF GETSOURCEURL>
- | <span class="glyphicon glyphicon-comment"></span><a href="<TMPL_VAR DISCUSSIONURL>"> Discussion</a>
+ | <span class="glyphicon glyphicon-comment"></span><a href="<TMPL_VAR DISCUSSIONURL>"> Discussion</a>
</TMPL_IF>
</i>
</p>