Sha256: 76b4e70ad8242b5b92f08d64a69a534ae269775dd9d66084f903c0a02d657451

Contents?: true

Size: 1.23 KB

Versions: 7

Compression:

Stored size: 1.23 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: {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

7 entries across 7 versions & 1 rubygems

Version Path
thredded-0.13.3 app/views/thredded/topics/index.html.erb
thredded-0.13.2 app/views/thredded/topics/index.html.erb
thredded-0.13.1 app/views/thredded/topics/index.html.erb
thredded-0.13.0 app/views/thredded/topics/index.html.erb
thredded-0.12.4 app/views/thredded/topics/index.html.erb
thredded-0.12.3 app/views/thredded/topics/index.html.erb
thredded-0.12.2 app/views/thredded/topics/index.html.erb