Sha256: 9e6b9237cc25f376009d5914e472222f1f759e58841f2a8ea130440cfea67dc3

Contents?: true

Size: 766 Bytes

Versions: 16

Compression:

Stored size: 766 Bytes

Contents

<% content_for :thredded_page_title, t('thredded.topics.search.page_title') %>
<% content_for :thredded_page_id, 'thredded--topic-search-results' %>
<% content_for :thredded_breadcrumbs, render('thredded/shared/breadcrumbs') %>

<%= thredded_page do %>
  <% if @topics.present? %>
    <p class="thredded--alert thredded--alert-success">
      <%= t 'thredded.topics.search.results_message', query: "'#{@query}'" %>
    </p>
    <section class="thredded--main-section thredded--topics">
      <%= render @topics %>
    </section>
    <footer>
      <%= paginate @topics %>
    </footer>
  <% else %>
    <p class="thredded--alert thredded--alert-danger">
      <%= t 'thredded.topics.search.no_results_message', query: "'#{@query}'" %>
    </p>
  <% end %>
<% end %>

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
thredded-0.9.3 app/views/thredded/topics/search.html.erb
thredded-0.9.2 app/views/thredded/topics/search.html.erb
thredded-0.9.1 app/views/thredded/topics/search.html.erb
thredded-0.8.4 app/views/thredded/topics/search.html.erb
thredded-0.8.2 app/views/thredded/topics/search.html.erb
thredded-0.7.0 app/views/thredded/topics/search.html.erb
thredded-0.6.3 app/views/thredded/topics/search.html.erb
thredded-0.6.2 app/views/thredded/topics/search.html.erb
thredded-0.6.1 app/views/thredded/topics/search.html.erb
thredded-0.6.0 app/views/thredded/topics/search.html.erb
thredded-0.5.1 app/views/thredded/topics/search.html.erb
thredded-0.5.0 app/views/thredded/topics/search.html.erb
thredded-0.4.0 app/views/thredded/topics/search.html.erb
thredded-0.3.2 app/views/thredded/topics/search.html.erb
thredded-0.3.1 app/views/thredded/topics/search.html.erb
thredded-0.3.0 app/views/thredded/topics/search.html.erb