diff options
| author | Guilhem Moulin <guilhem.moulin@fripost.org> | 2015-05-31 21:28:30 +0200 | 
|---|---|---|
| committer | Guilhem Moulin <guilhem.moulin@fripost.org> | 2015-05-31 21:28:30 +0200 | 
| commit | 68489d566026f8a1a21e04f13860b9f35c96d7c7 (patch) | |
| tree | d1b89f1136884af61bf9323b8bc3e35a7158ff72 /templates | |
| parent | 3801bdb7b6f74e53f0db38a29d2a0a2e82a42087 (diff) | |
Don't offer to edit the website.
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/page.tmpl | 37 | 
1 files changed, 17 insertions, 20 deletions
| diff --git a/templates/page.tmpl b/templates/page.tmpl index 771926a..657761e 100644 --- a/templates/page.tmpl +++ b/templates/page.tmpl @@ -70,7 +70,7 @@              <ul class="dropdown-menu">                <li><a href="https://mail.fripost.org/">  							<span class="glyphicon glyphicon-envelope"></span> Webmail</a></li> -              <li><a href="https://antilop.fripost.org/mailman/listinfo"> +              <li><a href="https://lists.fripost.org/sympa/lists">  							<span class="glyphicon glyphicon-list"></span> Mailing lists</a></li>                <!-- later... @@ -80,14 +80,9 @@                <li> -								<a href="/website/certs"> +								<a href="<TMPL_UNLESS ISWEBSITE>https://fripost.org</TMPL_UNLESS>/certs">  								<span class="glyphicon glyphicon-certificate"></span> Certifikat</a> -								<!-- later ... -										 <a href="http://fripost.org/certs/"> -										 <span class="glyphicon glyphicon-certificate"></span> Certifikat</a> -								--> -  							</li>              </ul>            </li> @@ -101,20 +96,22 @@        <!-- HEADER -->        <div class="row">          <div class="col-md-8 col-sm-8 col-xs-6"> -          <TMPL_LOOP PARENTLINKS> -            <a href="<TMPL_VAR URL>"><TMPL_VAR PAGE></a> +          <TMPL_UNLESS ISWEBSITE> +            <TMPL_LOOP PARENTLINKS> +              <a href="<TMPL_VAR URL>"><TMPL_VAR PAGE></a> +              <span class="text-muted">»</span> +            </TMPL_LOOP> +            <TMPL_VAR TITLE>              <span class="text-muted">»</span> -          </TMPL_LOOP> -          <TMPL_VAR TITLE> -          <span class="text-muted">»</span> -        </div> -        <TMPL_IF EDITURL> -        <div class="col-md-4 col-sm-4 col-xs-6 text-right"> -          <a href="<TMPL_VAR EDITURL>" rel="nofollow"> -            <span class="glyphicon glyphicon-pencil"></span> Edit this page -          </a> -        </div> -        </TMPL_IF> +          </div> +          <TMPL_IF EDITURL> +          <div class="col-md-4 col-sm-4 col-xs-6 text-right"> +            <a href="<TMPL_VAR EDITURL>" rel="nofollow"> +              <span class="glyphicon glyphicon-pencil"></span> Edit this page +            </a> +          </div> +          </TMPL_IF> +        </TMPL_UNLESS>        </div>        <hr /> | 
