summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorLester Caine <lsces@lsces.co.uk>2010-12-16 07:37:27 +0000
committerLester Caine <lsces@lsces.co.uk>2010-12-16 07:37:27 +0000
commitf4cc5e18f6ef73801df0a8cb00b8584686f9d57c (patch)
tree852cc04988032f3c05a7a6cfd6941df056661309 /templates
parent313fce6a7e60a375e3aa488ca15898f89a733d56 (diff)
downloadcontact-f4cc5e18f6ef73801df0a8cb00b8584686f9d57c.tar.gz
contact-f4cc5e18f6ef73801df0a8cb00b8584686f9d57c.tar.bz2
contact-f4cc5e18f6ef73801df0a8cb00b8584686f9d57c.zip
Add manual location information to fine tune map selection
#L xref entry provides Latitude and Longditude in it's xkey and xkey_ext entries
Diffstat (limited to 'templates')
-rw-r--r--templates/display_address.tpl2
-rw-r--r--templates/list.tpl3
2 files changed, 4 insertions, 1 deletions
diff --git a/templates/display_address.tpl b/templates/display_address.tpl
index e8e5c64..e65fd86 100644
--- a/templates/display_address.tpl
+++ b/templates/display_address.tpl
@@ -28,7 +28,7 @@
<div class="row">
{formlabel label="Visual Centre Coordinates" for="street_start_x"}
{forminput}
- Easting: {$pageInfo.x_coordinate|escape} Northing: {$pageInfo.y_coordinate|escape}
+ Lat: {$pageInfo.x_coordinate|escape} Lon: {$pageInfo.y_coordinate|escape}
&nbsp;&lt;<a href="http://www.openstreetmap.org/index.html?mlat={$pageInfo.x_coordinate}&mlon={$pageInfo.y_coordinate}&zoom=16&layers=BOFT" title="{$propertyInfo.title}">
OpenStreetMap
</a>&gt;&nbsp;&lt;<a href="http://www.bing.com/maps/?cp={$pageInfo.x_coordinate}~{$pageInfo.y_coordinate}&lvl=16&style=r&q={$pageInfo.postcode}#" title="{$pageInfo.title}">
diff --git a/templates/list.tpl b/templates/list.tpl
index b882623..65d61f4 100644
--- a/templates/list.tpl
+++ b/templates/list.tpl
@@ -59,6 +59,9 @@
{if isset($listcontacts[content].grideast) }
&lt;{$listcontacts[content].grideast|escape}&nbsp;,&nbsp;{$listcontacts[content].gridnorth|escape}&gt;&nbsp;{/if}
{/if}
+ {if $listcontacts[content].x_coordinate }
+ &nbsp;Exact Cords:&lt;{$listcontacts[content].x_coordinate|escape}&nbsp;,&nbsp;{$listcontacts[content].y_coordinate|escape}&gt;&nbsp;
+ {/if}
<br />
{tr}Refs{/tr}: {$listcontacts[content].refs|default:0}&nbsp;&nbsp;
{tr}Tasks{/tr}: {$listcontacts[content].tasks|default:0}&nbsp;&nbsp;