Sha256: 552f415b8b07aa79f0a24dab5cd86858be0a819ab9ecb100ccca1ec8eb88ec97
Contents?: true
Size: 1.26 KB
Versions: 5
Compression:
Stored size: 1.26 KB
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', private_topic: @new_private_topic, preview_url: preview_new_private_topic_path, css_class: 'thredded--is-compact', placeholder: t('thredded.private_topics.form.title_placeholder_start') %> <%= render @private_topics %> <% unless unread_private_topics_count.zero? %> <%= link_to t('thredded.nav.mark_all_read'), mark_all_private_topics_read_path, class: 'thredded--button thredded--button-light thredded--button-wide', method: :put -%> <% end %> <% end -%> <% end %> <footer class="thredded--pagination-bottom"> <%= paginate @private_topics %> </footer> <% end %>
Version data entries
5 entries across 5 versions & 1 rubygems