projects
/
rails.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ee2d2d
)
Patch from crschmidt to add an obvious permalink to the bottom right
author
Tom Hughes
<tom@compton.nu>
Tue, 23 Oct 2007 08:45:23 +0000
(08:45 +0000)
committer
Tom 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
patch
|
blob
|
history
diff --git
a/app/views/site/index.rhtml
b/app/views/site/index.rhtml
index 1d8444221482a3fbbc96c9722e24122a21727863..625f17a109f62f0de68689338e8a63e9fd8dabfa 100644
(file)
--- a/
app/views/site/index.rhtml
+++ b/
app/views/site/index.rhtml
@@
-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 %>