X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/3787918d68354ef37deee29081712eee8373676c..7599f98957334d1924550205f7ba12a726de7eb0:/app/views/layouts/site.html.erb diff --git a/app/views/layouts/site.html.erb b/app/views/layouts/site.html.erb index d25e9326a..f1ae440e7 100644 --- a/app/views/layouts/site.html.erb +++ b/app/views/layouts/site.html.erb @@ -1,9 +1,9 @@ - + <%= 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' %>

@@ -13,8 +13,8 @@
<% if @user and @user.id %> - <%= raw(t 'layouts.welcome_user', :user_link => (link_to h(@user.display_name), user_path(:display_name => @user.display_name), :title => t('layouts.welcome_user_link_tooltip'))) %> - <%= link_to t('layouts.welcome_user_link_tooltip'), user_path(:display_name => @user.display_name) %> | + <%= raw(t 'layouts.welcome_user', :user_link => (link_to h(@user.display_name), user_path(:display_name => @user.display_name), :title => t('layouts.welcome_user_link_tooltip'))) %> + <%= link_to t('layouts.welcome_user_link_tooltip'), user_path(:display_name => @user.display_name) %> | <%= yield :greeting %> <%= render :partial => "layouts/inbox" %> | <%= link_to t('layouts.logout'), logout_path(:session => request.session_options[:id], :referer => request.fullpath), {:id => 'logoutanchor', :title => t('layouts.logout_tooltip')}%> @@ -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' } %>
  • @@ -101,34 +102,36 @@

    <%= raw t 'layouts.donate', :link => "#{t('layouts.donate_link_text')}" %>

    <% end %> -
    -
    - + } %> + + <%= yield :left_menu %> + +