Sha256: 714920bb265b87bae3461bd6093527419024ff976849953312c12c2c7807fed2

Contents?: true

Size: 1 KB

Versions: 62

Compression:

Stored size: 1 KB

Contents

%{
    <span class="select2-results__option-content"<% if (title) { %> title="<%= title %>" <% } %>>
        <% if (!_.isEmpty(sparkline_data)) { %>
            <span class="select2-results__option-graph">
                <span class='spark' title= "#{I18n.t('workarea.admin.catalog_products.index.sparkline_title')}">
                  {<%= sparkline_data.join(',') %>}
                </span>
            </span>
        <% } %>

        <% if (top) { %>
            <span class="select2-results__option-icon">
                #{ inline_svg('workarea/admin/icons/star.svg', title: I18n.t('workarea.admin.insights.icons.top_selling'), class: 'svg-icon svg-icon--small') }
            </span>
        <% } %>

        <% if (trending) { %>
            <span class="select2-results__option-icon">
                #{ inline_svg('workarea/admin/icons/fire.svg', title: I18n.t('workarea.admin.insights.icons.trending'), class: 'svg-icon svg-icon--small') }
            </span>
        <% } %>

        <%= text %>
    </span>
}

Version data entries

62 entries across 62 versions & 1 rubygems

Version Path
workarea-admin-3.5.27 app/assets/javascripts/workarea/admin/templates/remote_select_insight.jst.ejs.ruby
workarea-admin-3.5.26 app/assets/javascripts/workarea/admin/templates/remote_select_insight.jst.ejs.ruby
workarea-admin-3.4.45 app/assets/javascripts/workarea/admin/templates/remote_select_insight.jst.ejs.ruby
workarea-admin-3.5.25 app/assets/javascripts/workarea/admin/templates/remote_select_insight.jst.ejs.ruby
workarea-admin-3.5.23 app/assets/javascripts/workarea/admin/templates/remote_select_insight.jst.ejs.ruby
workarea-admin-3.4.44 app/assets/javascripts/workarea/admin/templates/remote_select_insight.jst.ejs.ruby
workarea-admin-3.5.22 app/assets/javascripts/workarea/admin/templates/remote_select_insight.jst.ejs.ruby
workarea-admin-3.4.43 app/assets/javascripts/workarea/admin/templates/remote_select_insight.jst.ejs.ruby
workarea-admin-3.5.21 app/assets/javascripts/workarea/admin/templates/remote_select_insight.jst.ejs.ruby
workarea-admin-3.4.42 app/assets/javascripts/workarea/admin/templates/remote_select_insight.jst.ejs.ruby
workarea-admin-3.5.20 app/assets/javascripts/workarea/admin/templates/remote_select_insight.jst.ejs.ruby
workarea-admin-3.4.41 app/assets/javascripts/workarea/admin/templates/remote_select_insight.jst.ejs.ruby
workarea-admin-3.5.19 app/assets/javascripts/workarea/admin/templates/remote_select_insight.jst.ejs.ruby
workarea-admin-3.4.40 app/assets/javascripts/workarea/admin/templates/remote_select_insight.jst.ejs.ruby
workarea-admin-3.5.18 app/assets/javascripts/workarea/admin/templates/remote_select_insight.jst.ejs.ruby
workarea-admin-3.4.39 app/assets/javascripts/workarea/admin/templates/remote_select_insight.jst.ejs.ruby
workarea-admin-3.5.17 app/assets/javascripts/workarea/admin/templates/remote_select_insight.jst.ejs.ruby
workarea-admin-3.4.38 app/assets/javascripts/workarea/admin/templates/remote_select_insight.jst.ejs.ruby
workarea-admin-3.5.16 app/assets/javascripts/workarea/admin/templates/remote_select_insight.jst.ejs.ruby
workarea-admin-3.4.37 app/assets/javascripts/workarea/admin/templates/remote_select_insight.jst.ejs.ruby