Changeset 410


Ignore:
Timestamp:
Jun 16, 2004, 1:47:36 AM (18 years ago)
Author:
Earle Martin
Message:

improve diff links

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/templates/node_history.tt

    r409 r410  
    11[% USE CGI %]
    2 [% INCLUDE header.tt %]
     2[% INCLUDE header.tt modifier = 'History of ' %]
    33
    4 <h1 align=center>[% site_name %] - History of [% node_name %]</h1>
     4<h1 align="center">[% site_name %] - History of [% node_name %]</h1>
    55
    66<ul>
    77[% FOREACH revision = history %]
    8   <li>Version [% revision.version %]:
    9       <a href="[% cgi_url %]?id=[% node_param %]&version=[% revision.version %]">View</a>
     8  <li>
     9      <a href="[% cgi_url %]?id=[% node_param %]&version=[% revision.version %]">Version [% revision.version %]</a>
    1010      [% IF revision.version != version %]
    11       | <a href="[% cgi_url %]?id=[% node_param %]&version=[% revision.version %]&diffversion=[% version %]">Diff</a>
     11      (diff:
     12      <a href="[% cgi_url %]?id=[% node_param %]&version=[% revision.version - 1 %]&diffversion=[% revision.version %]">previous</a> / 
     13      <a href="[% cgi_url %]?id=[% node_param %]&version=[% revision.version %]&diffversion=[% version %]">current</a>)
    1214      [% END %]
    1315      .....
Note: See TracChangeset for help on using the changeset viewer.