X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/3b74fc2579806c95ab6ef63205030d540920da99..a7d959e5886d8bf3003e798b375bf5b4e644d18c:/app/views/site/welcome.html.erb diff --git a/app/views/site/welcome.html.erb b/app/views/site/welcome.html.erb index 8190ac1f8..4617935e7 100644 --- a/app/views/site/welcome.html.erb +++ b/app/views/site/welcome.html.erb @@ -1,94 +1,71 @@ +<% content_for :head do %> + <%= javascript_include_tag "welcome" %> +<% end %> + <% content_for :heading do %> -

<%= t "welcome_page.title" %>

-

<%= t "welcome_page.subtitle" %>

+

<%= t ".title" %>

<% end %> -
-

<%= t "welcome_page.introduction_html" %>

-
+

<%= t ".introduction_html" %>

-
-

<%= t "welcome_page.section_1.title" %>

-
- -
-

<%= t "welcome_page.section_1.paragraph_1_html" %>

-

<%= t "welcome_page.section_1.paragraph_2_html" %>

-
+

<%= t ".whats_on_the_map.title" %>

-
-

<%= t "welcome_page.section_2.title" %>

-
-
+
+
+
-

<%= t "welcome_page.section_2.on_html" %>

+

<%= t ".whats_on_the_map.on_html" %>

-
-
+
+
-

<%= t "welcome_page.section_2.off_html" %>

+

<%= t ".whats_on_the_map.off_html" %>

-<% if @user %> -
-

<%= t "welcome_page.section_3.title" %>

-

<%= t "welcome_page.section_3.paragraph_2_html" %>

+

<%= t ".basic_terms.title" %>

+ +

<%= t ".basic_terms.paragraph_1_html" %>

+ +
+
+ +

<%= t ".basic_terms.editor_html" %>

-<% else %> -
-

<%= t "welcome_page.section_3.title_no_user" %>

-

<%= t "welcome_page.section_3.paragraph_1_html" %>

-

<%= t "welcome_page.section_3.paragraph_2_html" %>

+
+ +

<%= t ".basic_terms.node_html" %>

-<% end %> - -
-

<%= t "welcome_page.section_4.title" %>

-

<%= 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 ".basic_terms.way_html" %>

+
+
+ +

<%= t ".basic_terms.tag_html" %>

-
-

<%= t "welcome_page.section_5.title" %>

-
- -
-

<%= t "welcome_page.section_5.paragraph_1_html" %>

+
+

<%= t ".rules.title" %>

+ +

<%= t ".rules.paragraph_1_html" %>

-
-

<%= t "welcome_page.section_6.title" %>

- <% if @user %> -

<%= t "welcome_page.section_6.paragraph_1_html" %>

- <% else %> -

<%= t "welcome_page.section_6.paragraph_1_no_user_html" %>

- <% end %> +
+

<%= t ".questions.title" %>

+ +

<%= t ".questions.paragraph_1_html", :help_url => help_path %>

-
-
-

<%= t "welcome_page.section_7.title" %>

-

<%= t "welcome_page.section_7.paragraph_1_html" %>

-

<%= t "welcome_page.section_7.paragraph_2_html" %>

-
+ + +
+

<%= t ".add_a_note.title" %>

+

<%= t ".add_a_note.paragraph_1_html" %>

+

<%= t ".add_a_note.paragraph_2_html", :map_url => root_path %>