X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/dc48c9a5101c263dfd0eb33fa358490fc2ad9de0..ababece2cc0e5caf946242d097e80ae7c3dc877d:/app/views/layouts/site.html.erb?ds=inline diff --git a/app/views/layouts/site.html.erb b/app/views/layouts/site.html.erb index 19835489c..c572b1926 100644 --- a/app/views/layouts/site.html.erb +++ b/app/views/layouts/site.html.erb @@ -51,6 +51,7 @@ <% Editors::ALL_EDITORS.each do |editor| %>
  • <%= link_to t('layouts.edit_with', :editor => t("editor.#{editor}.description")), {:controller => 'site', :action => 'edit', :editor => editor}, {:id => editor + 'anchor', :class => "geolink llz object"} %>
  • <% end %> + <%= yield :editmenu %> @@ -73,31 +74,31 @@ <%= t 'layouts.intro_1' %>

    - <%= raw(t 'layouts.intro_2', + <%= t 'layouts.intro_2_html', :download => link_to(t('layouts.intro_2_download'), "http://planet.openstreetmap.org/"), :use => link_to(t('layouts.intro_2_use'), t('layouts.intro_2_use_url')), :license => link_to(t('layouts.intro_2_license'), url_for({:controller => 'site', :action => 'copyright'})), :create_account => link_to(t('layouts.intro_2_create_account'), - url_for({:controller => 'user', :action => 'new'}))) + url_for({:controller => 'user', :action => 'new'})) %>

    <% end %> <% if STATUS == :database_offline or STATUS == :api_offline %> -
    - <%= t 'layouts.osm_offline' %> + <% elsif STATUS == :database_readonly or STATUS == :api_readonly %> -
    - <%= t 'layouts.osm_read_only' %> + <% end %> <% if false %> - +