Sha256: 441037a1755cd4286065e45d0b4b562b9e5445b31e97b563988496400b0fef97

Contents?: true

Size: 1.16 KB

Versions: 35

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_id, 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

35 entries across 35 versions & 1 rubygems

Version Path
workarea-admin-3.4.45 app/views/workarea/admin/insights/_searches_to_improve.html.haml
workarea-admin-3.4.44 app/views/workarea/admin/insights/_searches_to_improve.html.haml
workarea-admin-3.4.43 app/views/workarea/admin/insights/_searches_to_improve.html.haml
workarea-admin-3.4.42 app/views/workarea/admin/insights/_searches_to_improve.html.haml
workarea-admin-3.4.41 app/views/workarea/admin/insights/_searches_to_improve.html.haml
workarea-admin-3.4.40 app/views/workarea/admin/insights/_searches_to_improve.html.haml
workarea-admin-3.4.39 app/views/workarea/admin/insights/_searches_to_improve.html.haml
workarea-admin-3.4.38 app/views/workarea/admin/insights/_searches_to_improve.html.haml
workarea-admin-3.4.37 app/views/workarea/admin/insights/_searches_to_improve.html.haml
workarea-admin-3.4.36 app/views/workarea/admin/insights/_searches_to_improve.html.haml
workarea-admin-3.4.35 app/views/workarea/admin/insights/_searches_to_improve.html.haml
workarea-admin-3.4.34 app/views/workarea/admin/insights/_searches_to_improve.html.haml
workarea-admin-3.4.33 app/views/workarea/admin/insights/_searches_to_improve.html.haml
workarea-admin-3.4.32 app/views/workarea/admin/insights/_searches_to_improve.html.haml
workarea-admin-3.4.31 app/views/workarea/admin/insights/_searches_to_improve.html.haml
workarea-admin-3.4.30 app/views/workarea/admin/insights/_searches_to_improve.html.haml
workarea-admin-3.4.29 app/views/workarea/admin/insights/_searches_to_improve.html.haml
workarea-admin-3.4.28 app/views/workarea/admin/insights/_searches_to_improve.html.haml
workarea-admin-3.4.27 app/views/workarea/admin/insights/_searches_to_improve.html.haml
workarea-admin-3.4.26 app/views/workarea/admin/insights/_searches_to_improve.html.haml