source: trunk/templates/node_history.tt @ 811

Last change on this file since 811 was 811, checked in by nick, 15 years ago

Microformat fun - support hCard, hReview and geo microformats where possible

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.7 KB
Line 
1[% USE CGI %]
2[% INCLUDE header.tt page_title = "History of $node_name - $site_name" %]
3[% INCLUDE banner.tt %]
4<div id="content">
5[% INCLUDE navbar.tt %]
6
7<h1 align="center">
8  [% site_name %] - History of <span class="node_name">[% node_name %]</span>
9</h1>
10<p>
11Note: only administrators can delete historical versions.
12</p>
13<ul>
14[% FOREACH revision = history %]
15  <li>
16      <a href="[% cgi_url %]?id=[% node_param %]&version=[% revision.version %]">Version [% revision.version %]</a>
17      [% IF revision.version != version %]
18      (diff:
19      [% UNLESS revision.version == 1 %]<a href="[% cgi_url %]?id=[% node_param %]&version=[% revision.version - 1 %]&diffversion=[% revision.version %]">previous</a> / [% END %]
20      <a href="[% cgi_url %]?id=[% node_param %]&version=[% revision.version %]&diffversion=[% version %]">current</a>)
21      [% END %]
22      .....
23      [% revision.modified %]
24      [% IF revision.username %]
25        by <a href="[% cgi_url %]?username=[% revision.username %]&action=userstats">[% revision.username %]</a>
26      [% END %]
27      [% IF revision.comment %]
28        <b>[[% revision.comment %]]</b>
29      [% END %]
30      [% IF enable_page_deletion %]
31        [<a href="[% full_cgi_url %]?id=[% node_param %];version=[% revision.version %];action=delete">delete</a>]
32      [% END %]
33  </li>
34[% END %]
35</ul>
36
37<p>
38  <a href="[% cgi_url %]?[% node_param %]">View current revision</a>
39</p>
40
41<p>
42  This list is available as a
43  <a href="[% cgi_url %]?action=list_all_versions;format=rss;id=[% node_param %]">rss feed</a>
44  and as an
45  <a href="[% cgi_url %]?action=list_all_versions;format=atom;id=[% node_param %]">atom feed</a>.
46</p>
47
48[% INCLUDE footer.tt %]
Note: See TracBrowser for help on using the repository browser.