X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/f5de157d2845ff1067b14604b2ca6c79ca7a7ac6..b0d3ecb3c31e87f294d57d92a404220094e7bbd5:/app/views/site/welcome.html.erb diff --git a/app/views/site/welcome.html.erb b/app/views/site/welcome.html.erb index d97b08d9a..eacccf578 100644 --- a/app/views/site/welcome.html.erb +++ b/app/views/site/welcome.html.erb @@ -1,95 +1,77 @@ +<% content_for :head do %> + <%= javascript_include_tag "welcome" %> +<% end %> + <% content_for :heading do %> -
<%= t "welcome_page.introduction_html" %>
-<%= t ".introduction" %>
-<%= t "welcome_page.section_1.paragraph_1_html" %>
-<%= t "welcome_page.section_1.paragraph_2_html" %>
-<%= t "welcome_page.section_2.on_html" %>
+<%= t ".whats_on_the_map.on_the_map_html", :real_and_current => tag.em(t(".whats_on_the_map.real_and_current")) %>
<%= t "welcome_page.section_2.off_html" %>
+<%= t ".whats_on_the_map.off_the_map_html", :doesnt => tag.em(t(".whats_on_the_map.doesnt")) %>
<%= t "welcome_page.section_3.paragraph_2_html" %>
+<%= t ".basic_terms.paragraph_1" %>
+ +<%= t "welcome_page.section_3.paragraph_1_html" %>
-<%= t "welcome_page.section_3.paragraph_2_html" %>
+<%= t "welcome_page.section_4.paragraph_1_html" %>
-- - <%= t "welcome_page.section_4.editor_html" %> -
-- - <%= t "welcome_page.section_4.node_html" %> -
-- - <%= t "welcome_page.section_4.way_html" %> -
-- - <%= t "welcome_page.section_4.changeset_html" %> -
+<%= t "welcome_page.section_5.paragraph_1_html" %>
+<%= t ".rules.para_1_html", :imports_link => link_to(t(".rules.imports"), t(".rules.imports_url")), + :automated_edits_link => link_to(t(".rules.automated_edits"), t(".rules.automated_edits_url")) %>
<%= t "welcome_page.section_6.paragraph_1_html" %>
- <% else %> -<%= t "welcome_page.section_6.paragraph_1_no_user_html" %>
- <% end %> -<%= t "welcome_page.section_6.paragraph_2_html" %>
+<%= t "welcome_page.section_7.paragraph_1_html" %>
-<%= t "welcome_page.section_7.paragraph_2_html" %>
-+<% if params[:oauth_return_url] %> + <%= t ".continue_authorization" %> +<% else %> + <%= t ".start_mapping" %> +<% end %> +
+<%= t ".add_a_note.para_1" %>
+<%= t ".add_a_note.para_2_html", :map_link => link_to(t(".add_a_note.the_map"), root_path), + :note_icon => tag.span(:class => "icon note bg-dark rounded-1") %>