diff options
| author | Guilhem Moulin <guilhem.moulin@fripost.org> | 2015-09-30 17:18:06 +0200 | 
|---|---|---|
| committer | Guilhem Moulin <guilhem.moulin@fripost.org> | 2015-09-30 17:18:06 +0200 | 
| commit | 60dade4c9e0820c71626d2ad60070657eaebc805 (patch) | |
| tree | 61f34fb274a3dedfe49303ecc6eb4ce9d56783a6 | |
| parent | 77def1605713de031dcbcc32090085c50707f6f0 (diff) | |
Don't display the Preferences URL on the website part.
| -rw-r--r-- | templates/page.tmpl | 12 | 
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> | 
