Author: dom
Date: 2007-07-03 23:48:48 +0100 (Tue, 03 Jul 2007)
New Revision: 1106
Modified:
trunk/templates/node.tt
Log:
Correct some use of wgs84 back to the natural database format.
Modified: trunk/templates/node.tt
===================================================================
--- trunk/templates/node.tt 2007-07-03 19:24:08 UTC (rev 1105)
+++ trunk/templates/node.tt 2007-07-03 22:48:48 UTC (rev 1106)
@@ -47,7 +47,7 @@
<span class="node_name">[% node_name %]</span></em>
</h2>
[% END %]
-[% IF not (content || coord_field_1_value || coord_field_2_value || wgs84_lat || wgs84_long) %]
+[% IF not (content || coord_field_1_value || coord_field_2_value || latitude || longitude) %]
</div>
<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 %]
@@ -86,7 +86,7 @@
</form>
</div>
[% END %]
-[% IF (wgs84_lat AND wgs84_long) OR (os_x AND os_y) OR (osie_x AND osie_y) %]
+[% IF (latitude AND longitude) OR (os_x AND os_y) OR (osie_x AND osie_y) %]
<div id="coordinates" class="geo">
[% END %]
[% IF os_x AND os_y %]
@@ -108,15 +108,16 @@
</small>
[% END %]
-[% IF wgs84_lat AND wgs84_long %]
+[% IF latitude AND longitude %]
<small>
(Latitude:
- <abbr class="latitude" title="[% wgs84_lat %]">[% wgs84_lat %]</abbr>
+ <!-- titles using the wgs84 versions here are for microformats -->
+ <abbr class="latitude" title="[% wgs84_lat %]">[% latitude %]</abbr>
Longitude:
- <abbr class="longitude" title="[% wgs84_long %]">[% wgs84_long %]</abbr>)
+ <abbr class="longitude" title="[% wgs84_long %]">[% longitude %]</abbr>)
</small>
[% END %]
-[% IF (wgs84_lat AND wgs84_long) OR (os_x AND os_y) OR (osie_x AND osie_y)%]
+[% IF (latitude AND longitude) OR (os_x AND os_y) OR (osie_x AND osie_y)%]
</div>
[% END %]
<div id="rdf_link">
Author: dom
Date: 2007-07-01 20:05:58 +0100 (Sun, 01 Jul 2007)
New Revision: 1101
Modified:
trunk/UPGRADING
Log:
Add note about [1086]
Modified: trunk/UPGRADING
===================================================================
--- trunk/UPGRADING 2007-06-28 23:20:37 UTC (rev 1100)
+++ trunk/UPGRADING 2007-07-01 19:05:58 UTC (rev 1101)
@@ -1,3 +1,17 @@
+0.61
+ Customized navbar_categories.tt and navbar_locales.tt templates
+ need to be updated:
+ - First of all, your template needs to check for
+ [% config.enable_common_categories %]
+ rather than
+ [% common_categories %]
+ in order to know whether to add this <div> to the navbar or not.
+
+ - Secondly, you need to replace
+ <a href="[% catloc_link %]Category_[% cat %]">
+ with
+ <a href="[% config.script_url _ config.script_name %]?id=Category_[% cat %]">
+
0.60 The edit form now uses stylable <div>s rather than tables. You will
probably want to provide at least basic styling for these.