source: trunk/templates/navbar_this_page.tt

Last change on this file was 1279, checked in by Dominic Hargreaves, 12 years ago

Add read_only config option to turn off edits on a guide completely (fixes #276)

File size: 861 bytes
Line 
1[% UNLESS not_editable %]
2  <div id="navbar_this_page">
3    <div class="navbar_group_title">This page:</div>
4    <ul>
5[% UNLESS read_only %]
6      <li><a class="edit_page_link" href="[% source_site or full_cgi_url %]?id=[% node_param %];action=edit">Edit this page</a></li>
7[% END %]
8      <li><a href="[% full_cgi_url %]?action=show_backlinks;id=[% node_param %]">Show pages linking here</a></li>
9      [% IF version AND version > 1 %]
10        <li><a href="[% full_cgi_url %]?action=list_all_versions;id=[% node_param %]">List all revisions</a></li>
11      [% END %]
12      <li><a href="[% full_cgi_url %]?id=[% node_param %];format=rdf">RDF/XML version</a></li>
13      [% IF enable_page_deletion and is_admin %]
14        <li><a href="[% full_cgi_url %]?id=[% node_param %];action=delete">Delete (admin only)</a></li>
15      [% END %]
16    </ul>
17  </div>
18[% END %]
Note: See TracBrowser for help on using the repository browser.