Sha256: d9c5bef548fc90780f10d728ac96394e4734a65b13bd870cef5cbce238a158ca
Contents?: true
Size: 1.22 KB
Versions: 1
Compression:
Stored size: 1.22 KB
Contents
<% content_for :breadcrumbs do %> <ul class="breadcrumbs"> <li><%= link_to 'Forums', thredded.root_path %></li> <li><span><%= messageboard.name %></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.decorate, as: :topic %> </div> <% end %> <div class="currently"> <%= render partial: 'thredded/topics/topic_condensed', collection: @topics.decorate, as: :topic %> </div> </section> <footer> <%= paginate @topics %> <nav> <%= yield :actions %> <%= yield :breadcrumbs %> </nav> </footer>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
thredded-0.0.1 | app/views/thredded/topics/index.html.erb |