Sha256: cb6edc5a6b7ee1f7b64af7f47b048ba045751ac7d2a19e93e9c1c4450608525e

Contents?: true

Size: 1.16 KB

Versions: 27

Compression:

Stored size: 1.16 KB

Contents

.insight
  .insight__date
    %span.insight__period= t('workarea.admin.insights.week_ending', date: insight.reporting_on.end_of_week.to_date.to_s(:long))
  .insight__heading= t('workarea.admin.insights.searches_to_improve.title')
  .insight__body
    %p.insight__note= t('workarea.admin.insights.searches_to_improve.info')
    %table
      %thead
        %tr
          %th.align-center= t('workarea.admin.insights.searches_to_improve.term')
          %th.align-center= t('workarea.admin.insights.searches_to_improve.conversation_rate')
          %th.align-center= t('workarea.admin.insights.searches_to_improve.searches')
      %tbody
        - insight.results.each do |result|
          %tr
            %td.align-center
              = form_tag search_customizations_path, method: 'post' do
                = hidden_field_tag 'q', result.query_id, id: nil
                = button_tag result.query_string, class: 'button button--small'
            %td.align-center= insights_number_to_percentage(result.conversion_rate)
            %td.align-center
              - if result.searches.blank?
                \-
              - else
                = number_with_delimiter(result.searches)

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
workarea-admin-3.5.27 app/views/workarea/admin/insights/_searches_to_improve.html.haml
workarea-admin-3.5.26 app/views/workarea/admin/insights/_searches_to_improve.html.haml
workarea-admin-3.5.25 app/views/workarea/admin/insights/_searches_to_improve.html.haml
workarea-admin-3.5.23 app/views/workarea/admin/insights/_searches_to_improve.html.haml
workarea-admin-3.5.22 app/views/workarea/admin/insights/_searches_to_improve.html.haml
workarea-admin-3.5.21 app/views/workarea/admin/insights/_searches_to_improve.html.haml
workarea-admin-3.5.20 app/views/workarea/admin/insights/_searches_to_improve.html.haml
workarea-admin-3.5.19 app/views/workarea/admin/insights/_searches_to_improve.html.haml
workarea-admin-3.5.18 app/views/workarea/admin/insights/_searches_to_improve.html.haml
workarea-admin-3.5.17 app/views/workarea/admin/insights/_searches_to_improve.html.haml
workarea-admin-3.5.16 app/views/workarea/admin/insights/_searches_to_improve.html.haml
workarea-admin-3.5.15 app/views/workarea/admin/insights/_searches_to_improve.html.haml
workarea-admin-3.5.14 app/views/workarea/admin/insights/_searches_to_improve.html.haml
workarea-admin-3.5.13 app/views/workarea/admin/insights/_searches_to_improve.html.haml
workarea-admin-3.5.12 app/views/workarea/admin/insights/_searches_to_improve.html.haml
workarea-admin-3.5.11 app/views/workarea/admin/insights/_searches_to_improve.html.haml
workarea-admin-3.5.10 app/views/workarea/admin/insights/_searches_to_improve.html.haml
workarea-admin-3.5.9 app/views/workarea/admin/insights/_searches_to_improve.html.haml
workarea-admin-3.5.8 app/views/workarea/admin/insights/_searches_to_improve.html.haml
workarea-admin-3.5.7 app/views/workarea/admin/insights/_searches_to_improve.html.haml