Author: kake Date: 2007-06-11 03:26:08 +0100 (Mon, 11 Jun 2007) New Revision: 1065
Modified: trunk/Changes trunk/README.CSS trunk/templates/node.tt Log: Added new div#nonexistent_node_message for displaying message when someone tries to view a nonexistent node.
Modified: trunk/Changes =================================================================== --- trunk/Changes 2007-06-11 02:23:11 UTC (rev 1064) +++ trunk/Changes 2007-06-11 02:26:08 UTC (rev 1065) @@ -16,6 +16,8 @@ Respect redirect=0 (#104). If an unknown action is supplied to wiki.cgi, redirect to action=display (partial fix for #102) + Added new div#nonexistent_node_message for displaying message when + someone tries to view a nonexistent node.
0.60 13 May 2007 Removed footer search from edit page (shouldn't have been there).
Modified: trunk/README.CSS =================================================================== --- trunk/README.CSS 2007-06-11 02:23:11 UTC (rev 1064) +++ trunk/README.CSS 2007-06-11 02:26:08 UTC (rev 1065) @@ -284,6 +284,10 @@ Used in: node.tt Purpose: Display the node name and an "edit this page" link.
+div#nonexistent_node_message + Used in: node.tt + Purpose: Display message when someone tries to view a nonexistent node. + div#rdf_link Used in: node.tt Purpose: Link to an RDF version of the node
Modified: trunk/templates/node.tt =================================================================== --- trunk/templates/node.tt 2007-06-11 02:23:11 UTC (rev 1064) +++ trunk/templates/node.tt 2007-06-11 02:26:08 UTC (rev 1065) @@ -49,7 +49,7 @@ [% END %] [% IF not (content || coord_field_1_value || coord_field_2_value || wgs84_lat || wgs84_long) %] </div> -We 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>? +<div id="nonexistent_node_message">We 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>?</div> [% ELSE %] <div id="title_edit_link"> <a href="[% full_cgi_url %]?action=edit;id=[% node_param %]">Edit this page</a>