Changeset 1036 for trunk/templates

Show
Ignore:
Timestamp:
05/15/07 17:55:05 (19 months ago)
Author:
kake
Message:

Added an extra "edit this page" link next to the node name.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/templates/node.tt

    r988 r1036  
    2828[% END %] 
    2929 
     30<div id="node_title"> 
    3031[% IF current %] 
    3132  [% IF backlinks_in_title AND is_indexable_node %] 
     
    4849[% END %] 
    4950[% IF not (content || coord_field_1_value || coord_field_2_value || latitude || longitude) %] 
     51</div> 
    5052We don't have a node called "[% node_param %]". Would you like to <a href="[% full_cgi_url %]?action=edit;id=[% node_param %]">create it</a>? 
    5153[% ELSE %] 
     54<div id="title_edit_link"> 
     55<a href="[% full_cgi_url %]?action=edit;id=[% node_param %]">Edit this page</a> 
     56</div> 
     57</div> 
    5258[% INCLUDE display_metadata.tt %] 
    5359