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.4.13 app/assets/javascripts/workarea/admin/templates/remote_select_insight.jst.ejs.ruby
workarea-admin-3.4.12 app/assets/javascripts/workarea/admin/templates/remote_select_insight.jst.ejs.ruby