Changeset 1036


Ignore:
Timestamp:
May 15, 2007, 5:55:05 PM (14 years ago)
Author:
kake
Message:

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

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Changes

    r1034 r1036  
    33More detailed changelogs can be found at
    44http://dev.openguides.org/log/trunk
     5
     60.61
     7        Added extra "edit this page" link next to the node name; if you don't
     8          want it, add div#title_edit_link {display:none;} to your stylesheet.
    59
    6100.60    13 May 2007
  • trunk/README.CSS

    r1021 r1036  
    281281    an editable node.
    282282
     283div#node_title
     284    Used in: node.tt
     285    Purpose: Display the node name and an "edit this page" link.
     286
    283287div#rdf_link
    284288    Used in: node.tt
     
    302306    Used in: footer.tt
    303307    Purpose: The search form at the bottom of the page
     308
     309div#title_edit_link
     310    Used in: node.tt
     311    Purpose: Display an "edit this page" link near the node name.
    304312
    305313div#version
  • 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
Note: See TracChangeset for help on using the changeset viewer.