Sha256: 96fb95ac4456d749e0ea58aa7be8ae4bc735bd19b26a777d5f379d09963876fb

Contents?: true

Size: 1.25 KB

Versions: 9

Compression:

Stored size: 1.25 KB

Contents

<% content_for :breadcrumbs do %>
  <ul class="breadcrumbs">
    <li><%= link_to 'Forums', thredded.root_path %></li>
    <li><%= link_to messageboard.title, messageboard_topics_path(messageboard) %></li>
    <li><span>Category</span></li>
  </ul>
<% end %>

<% content_for :actions do %>
  <ul class="actions">
    <%= render 'thredded/search/form' %>

    <% if can? :create, Thredded::Topic %>
      <li class='new_topic'>
        <%= link_to 'new topic', new_messageboard_topic_path(messageboard) %>
      </li>
      <li class='new_private_topic'>
        <%= link_to 'private topic', new_messageboard_private_topic_path(messageboard) %>
      </li>
    <% end %>
  </ul>
<% end %>

<header>
  <nav>
    <%= yield :breadcrumbs %>
    <%= yield :actions %>
  </nav>

  <%= render 'thredded/shared/currently_online' %>
</header>

<section class="topics">
  <% if @sticky.any? %>
    <div class="stuck">
      <%= render partial: 'thredded/topics/topic_condensed', collection: @sticky, as: :t %>
    </div>
  <% end %>

  <div class="currently">
    <%= render partial: 'thredded/topics/topic_condensed', collection: @topics, as: :t %>
  </div>
</section>

<footer>
  <%= paginate @topics %>
  <nav>
    <%= yield :actions %>
    <%= yield :breadcrumbs %>
  </nav>
</footer>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
thredded-0.0.10 app/views/thredded/topics/by_category.html.erb
thredded-0.0.9 app/views/thredded/topics/by_category.html.erb
thredded-0.0.8 app/views/thredded/topics/by_category.html.erb
thredded-0.0.7 app/views/thredded/topics/by_category.html.erb
thredded-0.0.6 app/views/thredded/topics/by_category.html.erb
thredded-0.0.5 app/views/thredded/topics/by_category.html.erb
thredded-0.0.4 app/views/thredded/topics/by_category.html.erb
thredded-0.0.3 app/views/thredded/topics/by_category.html.erb
thredded-0.0.1 app/views/thredded/topics/by_category.html.erb