<% content_for :heading do %>
- <h1><%= t "help_page.title" %></h1>
+ <h1><%= t ".title" %></h1>
<% end %>
-<p class='introduction'><%= t "help_page.introduction" %></p>
+<p class='introduction'><%= t ".introduction" %></p>
-<% ['welcome', 'beginners_guide', 'help', 'mailing_lists', 'forums', 'irc', 'switch2osm', 'wiki'].each do |site| %>
- <% unless site == 'welcome' && !@user %>
+<% %w[welcome beginners_guide help mailing_lists forums irc switch2osm welcomemat wiki].each do |site| %>
+ <% unless site == 'welcome' && !current_user %>
<div class='<%= site %> help-item'>
<h3>
- <a href='<%= t "help_page.#{site}.url" %>'>
- <%= t "help_page.#{site}.title" %>
+ <a href='<%= t ".#{site}.url" %>'>
+ <%= t ".#{site}.title" %>
</a>
</h3>
- <p><%= t "help_page.#{site}.description" %></p>
+ <p><%= t ".#{site}.description" %></p>
</div>
<% end %>
<% end %>