]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/template/details-html.php
details page: add a perma-link
[nominatim.git] / lib / template / details-html.php
index ef7d9248dae658438a0e9ad2fed689f02b787af1..b7a963738a01e38f01053b0f623be0f244637ecc 100644 (file)
                     }
                     kv('Coverage'        , ($aPointDetails['isarea']=='t'?'Polygon':'Point') );
                     kv('Centre Point'    , $aPointDetails['lat'].','.$aPointDetails['lon'] );
-                    kv('OSM'             , osmLink($aPointDetails) );
+                    kv('OSM'             , osmLink($aPointDetails) . ' ('.detailsPermaLink($aPointDetails, 'this page').')' );
                     if ($aPointDetails['wikipedia'])
                     {
                         kv('Wikipedia Calculated' , wikipediaLink($aPointDetails) );