X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/800dbbf41b65d0976af94d3b9ef5e0227e1f4285..c0ee3f65bb9cd81f39c13417be5a2e37cba05921:/app/views/layouts/site.html.erb?ds=sidebyside
diff --git a/app/views/layouts/site.html.erb b/app/views/layouts/site.html.erb
index abc266775..383941685 100644
--- a/app/views/layouts/site.html.erb
+++ b/app/views/layouts/site.html.erb
@@ -3,10 +3,10 @@
<%= render :partial => "layouts/head" %>
- <%= link_to(image_tag("osm_logo.png", :size => "16x16", :border => 0, :alt => t('layouts.logo.alt_text')), root_path) %>
+ <%= link_to(image_tag("osm_logo.png", :size => "16x16", :alt => t('layouts.logo.alt_text')), root_path) %>
<%= t 'layouts.project_name.h1' %>
-
+
<%= render :partial => "layouts/flash", :locals => { :flash => flash } %>
<%= yield %>
@@ -32,7 +32,7 @@
<%= link_to h(t('layouts.edit')) + content_tag(:span, "â¾", :class => "menuicon"), edit_path, {
:id => 'editanchor',
:title => t('javascripts.site.edit_tooltip'),
- :data => { :minzoom => 13 },
+ :data => { :minzoom => 13, :editor => preferred_editor },
:class => 'geolink llz object disabled'
} %>
<%= link_to t('layouts.history'), browse_changesets_path, {
@@ -44,17 +44,18 @@
<%= link_to t('layouts.export'), export_path, {
:id => 'exportanchor',
:title => t('layouts.export_tooltip'),
+ :data => { :url => url_for(:controller => :export, :action => :start) },
:class => 'geolink llz layers'
} %>
-
- <%= link_to image_tag("sotm.png",
- :alt => t('layouts.sotm2012'),
- :title => t('layouts.sotm2012'),
- :border => "0"), "http://stateofthemap.org/register-now/" %>
-