summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem.moulin@fripost.org>2015-09-30 17:00:47 +0200
committerGuilhem Moulin <guilhem.moulin@fripost.org>2015-09-30 17:00:47 +0200
commit506dfb62c73b6d0f0ae0e68c774215654f2565f2 (patch)
treee8435b9fbf90addfac6a49032b4db591e7a94e4f
parent729e780901dd699e63d581496506d13c07020fd0 (diff)
Add a 'Preferences' URL.
-rw-r--r--templates/page.tmpl5
1 files changed, 4 insertions, 1 deletions
diff --git a/templates/page.tmpl b/templates/page.tmpl
index 49b536d..04ee349 100644
--- a/templates/page.tmpl
+++ b/templates/page.tmpl
@@ -139,9 +139,12 @@
<TMPL_IF GETSOURCEURL>
| <b>&lt;&gt;</b> <a href="<TMPL_VAR GETSOURCEURL>">Show source</a>
</TMPL_IF>
- <TMPL_IF GETSOURCEURL>
+ <TMPL_IF DISCUSSIONURL>
| <span class="glyphicon glyphicon-comment"></span><a href="<TMPL_VAR DISCUSSIONURL>"> Discussion</a>
</TMPL_IF>
+ <TMPL_IF PREFSURL>
+ | <span class="glyphicon glyphicon-settings"></span><a href="<TMPL_VAR PREFSURL>"> Preferences</a>
+ </TMPL_IF>
</p>
<TMPL_IF COMMENTS>