Sha256: 06a67e014a3334055d1bdee7fe84a7e9796f2befcb0a355cced2b0fa9b583f26

Contents?: true

Size: 1.15 KB

Versions: 5

Compression:

Stored size: 1.15 KB

Contents

<% content_for :thredded_page_title, messageboard.name %>
<% content_for :thredded_page_id, 'thredded--topics-index' %>
<% content_for :thredded_breadcrumbs, render('thredded/shared/breadcrumbs') %>

<%= thredded_page do %>
  <div class="thredded--svg-definitions">
    <%= inline_svg 'thredded/follow.svg', id: 'thredded-follow-icon', title: nil %>
    <%= inline_svg 'thredded/unfollow.svg', id: 'thredded-unfollow-icon' %>
  </div>

  <%= content_tag :section, class: 'thredded--main-section thredded--topics', 'data-thredded-topics' => true do %>
    <%= render 'thredded/topics/form',
               topic: @new_topic,
               css_class: 'thredded--is-compact',
               placeholder: t('thredded.topics.form.title_placeholder_start') if @new_topic %>
    <%= render partial: 'thredded/topics/topic',
               collection: @topics,
               locals: {
                 sticky_topics_divider: true,
                 topics: @topics
               } %>
  <% end %>

  <footer class="thredded--pagination-bottom">
    <%= paginate @topics %>
  </footer>

  <%= render 'thredded/messageboards/messageboard_actions', messageboard: messageboard %>
<% end %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
thredded-0.16.0 app/views/thredded/topics/index.html.erb
thredded-0.15.5 app/views/thredded/topics/index.html.erb
thredded-0.15.4 app/views/thredded/topics/index.html.erb
thredded-0.15.3 app/views/thredded/topics/index.html.erb
thredded-0.15.2 app/views/thredded/topics/index.html.erb