Sha256: 9a973552814ac58fee3688b48985cec80901ef880b59c67945996fc0b9119ca5

Contents?: true

Size: 942 Bytes

Versions: 9

Compression:

Stored size: 942 Bytes

Contents

<% content_for :thredded_page_title, t('thredded.nav.private_topics') %>
<% content_for :thredded_page_id, 'thredded--private-topics-index' %>
<% content_for :thredded_breadcrumbs, render('thredded/private_topics/breadcrumbs') %>

<%= thredded_page do %>
  <%= content_tag :section, class: 'thredded--main-section thredded--private-topics',
                  'data-thredded-topics' => true do %>
    <% if @private_topics.empty? -%>
      <%= render 'thredded/private_topics/no_private_topics' %>
    <% else -%>
      <%= render 'thredded/private_topics/form',
                 messageboard:  messageboard,
                 private_topic: @new_private_topic,
                 css_class:     'thredded--is-compact',
                 placeholder:   t('thredded.private_topics.form.title_placeholder_start') %>
      <%= render @private_topics %>
    <% end -%>
  <% end %>

  <footer>
    <%= paginate @private_topics %>
  </footer>
<% end %>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
thredded-0.6.2 app/views/thredded/private_topics/index.html.erb
thredded-0.6.1 app/views/thredded/private_topics/index.html.erb
thredded-0.6.0 app/views/thredded/private_topics/index.html.erb
thredded-0.5.1 app/views/thredded/private_topics/index.html.erb
thredded-0.5.0 app/views/thredded/private_topics/index.html.erb
thredded-0.4.0 app/views/thredded/private_topics/index.html.erb
thredded-0.3.2 app/views/thredded/private_topics/index.html.erb
thredded-0.3.1 app/views/thredded/private_topics/index.html.erb
thredded-0.3.0 app/views/thredded/private_topics/index.html.erb