X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/98262d3ab1e7e90d3b1c8c4cc6344f8c4cce8847..32c3000af7c2c4016b75abf5a396262e28aabd72:/app/views/site/help.html.erb?ds=sidebyside diff --git a/app/views/site/help.html.erb b/app/views/site/help.html.erb index 3ca92398b..e6c65a992 100644 --- a/app/views/site/help.html.erb +++ b/app/views/site/help.html.erb @@ -4,15 +4,29 @@
<%= t ".introduction" %>
-<% ['welcome', 'beginners_guide', 'help', 'mailing_lists', 'forums', 'irc', 'switch2osm', 'welcomemat', 'wiki'].each do |site| %> - <% unless site == 'welcome' && !current_user %> -<%= t ".#{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| %> +<%= t ".#{site}.description" %>
+