Sha256: 05a6621158ea71e87c6ad6e5336a89bd5123dd0d5b37649cc629bf3082babbe9

Contents?: true

Size: 1001 Bytes

Versions: 62

Compression:

Stored size: 1001 Bytes

Contents

.insight
  .insight__date
    %span.insight__period= insight.reporting_on.strftime('%B %Y')
  .insight__heading= t('workarea.admin.insights.popular_searches.title')
  .insight__body
    %p.insight__note= t('workarea.admin.insights.popular_searches.info')
    %table
      %thead
        %tr
          %th.align-center= t('workarea.admin.insights.popular_searches.term')
          %th.align-center= t('workarea.admin.insights.popular_searches.searches')
          %th.align-center= t('workarea.admin.insights.popular_searches.total_results')
      %tbody
        - insight.results.each do |result|
          %tr
            %td.align-center
              = form_tag search_customizations_path, method: 'post' do
                = hidden_field_tag 'q', result.query_string, id: nil
                = button_tag result.query_string, class: 'button button--small'
            %td.align-center= number_with_delimiter result.searches
            %td.align-center= number_with_delimiter result.total_results

Version data entries

62 entries across 62 versions & 1 rubygems

Version Path
workarea-admin-3.4.27 app/views/workarea/admin/insights/_popular_searches.html.haml
workarea-admin-3.5.4 app/views/workarea/admin/insights/_popular_searches.html.haml
workarea-admin-3.4.26 app/views/workarea/admin/insights/_popular_searches.html.haml
workarea-admin-3.5.3 app/views/workarea/admin/insights/_popular_searches.html.haml
workarea-admin-3.4.25 app/views/workarea/admin/insights/_popular_searches.html.haml
workarea-admin-3.5.2 app/views/workarea/admin/insights/_popular_searches.html.haml
workarea-admin-3.4.24 app/views/workarea/admin/insights/_popular_searches.html.haml
workarea-admin-3.5.1 app/views/workarea/admin/insights/_popular_searches.html.haml
workarea-admin-3.4.23 app/views/workarea/admin/insights/_popular_searches.html.haml
workarea-admin-3.4.22 app/views/workarea/admin/insights/_popular_searches.html.haml
workarea-admin-3.5.0 app/views/workarea/admin/insights/_popular_searches.html.haml
workarea-admin-3.4.21 app/views/workarea/admin/insights/_popular_searches.html.haml
workarea-admin-3.5.0.beta.1 app/views/workarea/admin/insights/_popular_searches.html.haml
workarea-admin-3.4.20 app/views/workarea/admin/insights/_popular_searches.html.haml
workarea-admin-3.4.19 app/views/workarea/admin/insights/_popular_searches.html.haml
workarea-admin-3.4.18 app/views/workarea/admin/insights/_popular_searches.html.haml
workarea-admin-3.4.17 app/views/workarea/admin/insights/_popular_searches.html.haml
workarea-admin-3.4.16 app/views/workarea/admin/insights/_popular_searches.html.haml
workarea-admin-3.4.15 app/views/workarea/admin/insights/_popular_searches.html.haml
workarea-admin-3.4.14 app/views/workarea/admin/insights/_popular_searches.html.haml