<% content_for :thredded_page_title, 'Messageboards' %>
<% content_for :thredded_page_id, 'thredded--messageboards-index' %>
<% content_for :thredded_breadcrumbs, render('thredded/shared/breadcrumbs') %>
<%= thredded_page do %>
  <section class="thredded--main-section thredded--messageboards">
    <% @groups.each do |group| %>
      <% if group.name.present? %>
        <h3><%= group.name %></h3>
      <% end %>
      <%= render group.messageboards %>
    <% end %>

    <div class="thredded--messageboards--actions">
      <% if policy(Thredded::Messageboard.new).create? %>
        <a class="thredded--button" href="<%= new_messageboard_path %>">Create a New Messageboard</a>
      <% end %>
      <% if policy(Thredded::MessageboardGroup.new).create? %>
        <a class="thredded--button" href="<%= new_messageboard_group_path %>"><%= t('thredded.messageboard_group.create') %></a>
      <% end %>
    </div>
  </section>
<% end %>

<% content_for :thredded_page_title, 'Messageboards' %>
<% content_for :thredded_page_id, 'thredded--messageboards-index' %>
<% content_for :thredded_breadcrumbs, render('thredded/shared/breadcrumbs') %>
<%= thredded_page do %>
  <section class="thredded--main-section thredded--messageboards">
    <% @groups.each do |group| %>
      <% if group.name.present? %>
        <h3><%= group.name %></h3>
      <% end %>
      <%= render group.messageboards %>
    <% end %>

    <div class="thredded--messageboards--actions">
      <% if policy(Thredded::Messageboard.new).create? %>
        <a class="thredded--button" href="<%= new_messageboard_path %>"><%= t('thredded.messageboard.create') %></a>
      <% end %>
      <% if policy(Thredded::MessageboardGroup.new).create? %>
        <a class="thredded--button" href="<%= new_messageboard_group_path %>"><%= t('thredded.messageboard_group.create') %></a>
      <% end %>
    </div>
  </section>
<% end %>

Use i18n for the "Create a New Messageboard" link
Use i18n for the "Create a New Messageboard" link
