Sha256: 6586336a2e85a52c2628c3da051ba0f374710c94c87393d127da7d366b02a01c
Contents?: true
Size: 1.52 KB
Versions: 45
Compression:
Stored size: 1.52 KB
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"> <% if messageboard_or_nil %> <%= t 'thredded.topics.search.results_in_messageboard_message_html', query: @query, messageboard: messageboard.name %> <br> <a href="<%= messageboards_search_path(q: @query) %>"> <%= t('thredded.topics.search.search_in_all_messageboards_btn') -%> </a> <% else %> <%= t 'thredded.topics.search.results_message_html', query: @query %> <% end %> </p> <section class="thredded--main-section thredded--topics"> <%= render @topics %> </section> <footer class="thredded--pagination-bottom"> <%= paginate @topics %> </footer> <% else %> <p class="thredded--alert thredded--alert-danger"> <% if messageboard_or_nil %> <%= t 'thredded.topics.search.no_results_in_messageboard_message_html', query: @query, messageboard: messageboard.name -%> <br> <a href="<%= messageboards_search_path(q: @query) %>"> <%= t('thredded.topics.search.search_in_all_messageboards_btn') -%> </a> <% else %> <%= t 'thredded.topics.search.no_results_message_html', query: @query %> <% end %> </p> <% end %> <% end %>
Version data entries
45 entries across 45 versions & 2 rubygems