Sha256: a47f09181a8a7cb4c2d4cfb28cb1581a5d62688da378ad845702320e8c714ddb

Contents?: true

Size: 1.16 KB

Versions: 6

Compression:

Stored size: 1.16 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',
               messageboard: messageboard,
               topic:        @new_topic,
               css_class:    'thredded--is-compact',
               placeholder:  t('thredded.topics.form.title_placeholder_start') if @new_topic %>
    <%= render @topics %>
  <% end %>

  <footer>
    <%= paginate @topics %>
  </footer>

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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
thredded-0.9.3 app/views/thredded/topics/index.html.erb
thredded-0.9.2 app/views/thredded/topics/index.html.erb
thredded-0.9.1 app/views/thredded/topics/index.html.erb
thredded-0.8.4 app/views/thredded/topics/index.html.erb
thredded-0.8.2 app/views/thredded/topics/index.html.erb
thredded-0.7.0 app/views/thredded/topics/index.html.erb