]> git.openstreetmap.org Git - rails.git/commitdiff
Patch from crschmidt to add an obvious permalink to the bottom right
authorTom Hughes <tom@compton.nu>
Tue, 23 Oct 2007 08:45:23 +0000 (08:45 +0000)
committerTom Hughes <tom@compton.nu>
Tue, 23 Oct 2007 08:45:23 +0000 (08:45 +0000)
corner of the slippy map. Tested on FF2, IE7, Opera and Safari.

Closes #566.

app/views/site/index.rhtml

index 1d8444221482a3fbbc96c9722e24122a21727863..625f17a109f62f0de68689338e8a63e9fd8dabfa 100644 (file)
@@ -8,7 +8,9 @@
 <%= render :partial => 'key' %>
 <%= render :partial => 'search' %>
 
-<div id="map"></div> 
+<div id="map">
+<div id="permalink"><a href="/" id="permalinkanchor">Permalink</a></div>
+</div> 
 
 <% if params['mlon'] and params['mlat'] %>
 <% marker = true %>