X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/7503caa750f2788e2412e5b7f8ed37210b7407c3..51b7c3a5be1b6b52ee0041435357a960fdf0eff8:/app/views/site/help.html.erb diff --git a/app/views/site/help.html.erb b/app/views/site/help.html.erb index 412dfc7f6..c82893e9d 100644 --- a/app/views/site/help.html.erb +++ b/app/views/site/help.html.erb @@ -1,16 +1,32 @@ <% content_for :heading do %> -

<%= t "help_page.title" %>

+

<%= t ".title" %>

<% end %> -

<%= t "help_page.introduction" %>

+

<%= t ".introduction" %>

-<% ['welcome', 'help', 'wiki'].each do |site| %> -
-

- - <%= t "help_page.#{site}.title" %> - -

-

<%= t "help_page.#{site}.description" %>

+<% sites = %w[beginners_guide help mailing_lists forums irc switch2osm welcomemat wiki] %> +<% sites.prepend("welcome") if current_user %> + +<% sites.in_groups_of(3, false) do |group| %> +
+ <% group.each do |site| %> +
+
+
+ + <%= t ".#{site}.title" %> + +
+

<%= t ".#{site}.description" %>

+
+ +
+ <% end %>
-<% end %> \ No newline at end of file +<% end %>