Sha256: 2419dc848e7dcf10e6775e91c6d71fcb5071ea75c2ee7cc4b9e352f63c38b71a

Contents?: true

Size: 841 Bytes

Versions: 2

Compression:

Stored size: 841 Bytes

Contents

<% if @support_threads.none? %>

    <div><%= t('search_not_found') %>. <%= t('check_out') %> <%= link_to t('latest_questions'), help_center.support_threads_path %> <%= t('instead') %> </div>

<% else %>
<div class="container">
    <% if request.url.include?('category') %>
      <%# If category, list all articles %>
      <div class="col-12 text-left p-0">
        <h3> <%= @support_threads.first.support_category.name %></h3>
      </div>
      <%= render partial: "help_center/support_threads/support_thread", collection: @support_threads, spacer_template: "shared/spacer" %>

      <div class="support-threads-nav text-center">
      <%= will_paginate @support_threads, url_builder: help_center, renderer: HelpCenter::BootstrapLinkRenderer %>
     </div>

    <% else %>
     <%# Set default index here %>

  <% end %>
</div>
<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
help_center-0.0.2 app/views/help_center/support_threads/index.html.erb
help_center-0.0.1 app/views/help_center/support_threads/index.html.erb