summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem.moulin@fripost.org>2015-09-30 17:18:06 +0200
committerGuilhem Moulin <guilhem.moulin@fripost.org>2015-09-30 17:18:06 +0200
commit60dade4c9e0820c71626d2ad60070657eaebc805 (patch)
tree61f34fb274a3dedfe49303ecc6eb4ce9d56783a6 /templates
parent77def1605713de031dcbcc32090085c50707f6f0 (diff)
Don't display the Preferences URL on the website part.
Diffstat (limited to 'templates')
-rw-r--r--templates/page.tmpl12
1 files changed, 7 insertions, 5 deletions
diff --git a/templates/page.tmpl b/templates/page.tmpl
index c41f1f2..0d8d4b4 100644
--- a/templates/page.tmpl
+++ b/templates/page.tmpl
@@ -138,11 +138,13 @@
<TMPL_IF GETSOURCEURL>
| <span class="glyphicon glyphicon-file"></span> <a href="<TMPL_VAR GETSOURCEURL>">Source</a>
</TMPL_IF>
- <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-wrench"></span> <a href="<TMPL_VAR PREFSURL>">Preferences</a>
+ <TMPL_IF ISWEBSITE>
+ <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-wrench"></span> <a href="<TMPL_VAR PREFSURL>">Preferences</a>
+ </TMPL_IF>
</TMPL_IF>
</TMPL_IF>
</p>