Sha256: 2353325e68adfc0a5c8b6741f47ffeee07095a574d9722b333524d50c1cec1e2

Contents?: true

Size: 1.33 KB

Versions: 12

Compression:

Stored size: 1.33 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>

  <div class="thredded--messageboards--actions">
    <% if policy(messageboard).update? %>
      <a class="thredded--button" href="<%= edit_messageboard_path(messageboard) %>" rel="nofollow">
        <%= t('thredded.nav.edit_messageboard') %>
      </a>
    <% end %>
  </div>
<% end %>

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
thredded-0.15.1 app/views/thredded/topics/index.html.erb
threddedDANIEL-0.14.5 app/views/thredded/topics/index.html.erb
thredded-0.14.4 app/views/thredded/topics/index.html.erb
thredded-0.14.3 app/views/thredded/topics/index.html.erb
thredded-0.14.2 app/views/thredded/topics/index.html.erb
thredded-0.14.1 app/views/thredded/topics/index.html.erb
thredded-0.14.0 app/views/thredded/topics/index.html.erb
thredded-0.13.8 app/views/thredded/topics/index.html.erb
thredded-0.13.7 app/views/thredded/topics/index.html.erb
thredded-0.13.6 app/views/thredded/topics/index.html.erb
thredded-0.13.5 app/views/thredded/topics/index.html.erb
thredded-0.13.4 app/views/thredded/topics/index.html.erb