Changeset 444


Ignore:
Timestamp:
Jul 14, 2004, 12:29:43 PM (18 years ago)
Author:
Earle Martin
Message:

don't show diff and history links for new nodes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/templates/recent_changes.tt

    r443 r444  
    1111        <td class="recentchanges_node_name"><a href="[% node.url %]">[% node.name %]</a></td>
    1212        <td class="recentchanges_meta">
    13           ([%- IF node.version > 1 %]<a href="[% cgi_url %]?id=[% node.name %]&version=[% node.version - 1 %]&diffversion=[% node.version %]">[%- END %]diff[%- IF node.version > 1 %]</a>
    14           [%- END %]) (<a href="[% cgi_url %]?action=list_all_versions;id=[% node.name %]">history</a>) [% node.last_modified %]
     13          [% IF node.version > 1 %]
     14            (<a href="[% cgi_url %]?id=[% node.name %]&version=[% node.version - 1 %]&diffversion=[% node.version %]">diff</a>)
     15            (<a href="[% cgi_url %]?action=list_all_versions;id=[% node.name %]">history</a>)
     16          [% ELSE %]
     17            (new node)
     18          [% END %]
     19            [% node.last_modified %]
    1520          [% IF (node.edit_type == 'Minor tidying')%] (minor edit)[% END %]
    1621        </td>
Note: See TracChangeset for help on using the changeset viewer.