diff options
| author | Lester Caine <lsces@lsces.co.uk> | 2010-12-16 07:37:27 +0000 |
|---|---|---|
| committer | Lester Caine <lsces@lsces.co.uk> | 2010-12-16 07:37:27 +0000 |
| commit | f4cc5e18f6ef73801df0a8cb00b8584686f9d57c (patch) | |
| tree | 852cc04988032f3c05a7a6cfd6941df056661309 /templates | |
| parent | 313fce6a7e60a375e3aa488ca15898f89a733d56 (diff) | |
| download | contact-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.tpl | 2 | ||||
| -rw-r--r-- | templates/list.tpl | 3 |
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} <<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>> <<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) } <{$listcontacts[content].grideast|escape} , {$listcontacts[content].gridnorth|escape}> {/if} {/if} + {if $listcontacts[content].x_coordinate } + Exact Cords:<{$listcontacts[content].x_coordinate|escape} , {$listcontacts[content].y_coordinate|escape}> + {/if} <br /> {tr}Refs{/tr}: {$listcontacts[content].refs|default:0} {tr}Tasks{/tr}: {$listcontacts[content].tasks|default:0} |
