Sha256: 0d8bd0864fbf61054ca875bb4fe3578fd14a2b544dcb7052971c6049c283b5d5

Contents?: true

Size: 598 Bytes

Versions: 1

Compression:

Stored size: 598 Bytes

Contents

<% content_for :thredded_page_title, 'Messageboards' %>
<% content_for :thredded_page_id, 'thredded_messageboards_index' %>

<header>
  <nav>
    <ul class="breadcrumbs">
      <li><span>Forums</span></li>
    </ul>
  </nav>
  <h2>
    <%= number_to_human(Thredded::Messageboard.all.count) %> messageboards,
    <%= number_to_human(Thredded::Messageboard.all.map(&:topics_count).sum, precision: 4) %> topics,
    and <%= number_to_human(Thredded::Messageboard.all.map(&:posts_count).sum, precision: 5) %> posts</h2>
</header>

<section id="messageboards">
  <%= render @messageboards %>
</section>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
thredded-0.0.12 app/views/thredded/messageboards/index.html.erb