Sha256: 0a38006961863078d06b2249ad2ff48c740fb34cbc02ef8219979b2c94e1618b

Contents?: true

Size: 1.6 KB

Versions: 15

Compression:

Stored size: 1.6 KB

Contents

<div id="contentHeader" class="row mb-3">
  <% if content_for?(:page_title) || content_for?(:page_actions) %>
    <div class="content-header col <%= "with-page-tabs" if content_for?(:page_tabs) %> page-header">
      <div class="row align-items-center  <%= if content_for?(:page_tabs) then "pb-0" else "border-bottom" end %>">

        <% if content_for?(:page_title) %>
          <h1 class="contextual-title px-0 mb-0 col">
            <%= yield :page_title %>
            <% if content_for?(:page_title_small) %>
              <small><%= yield :page_title_small %></small>
            <% end %>
          </h1>
        <% end %>

        <% if content_for?(:page_actions) %>
          <div class="page-actions pl-0 pr-0 d-none d-lg-flex" data-hook="toolbar">
            <%= yield :page_actions %>
          </div>
        <% end %>

        <% if content_for?(:page_actions) || content_for?(:sidebar) %>
          <div class="d-flex d-lg-none justify-content-end m-0 p-0">
            <button type="button"
                    id="contextual-menu-toggle"
                    class="btn btn-outline-secondary shadow-none">
                    <span class="d-none d-sm-inline">
                      <%= Spree.t('more') %>
                    </span>
                    <%= svg_icon name: "chevron-down.svg", width: '16', height: '16' %>
            </button>
          </div>
        <% end %>
      </div>

      <% if content_for?(:page_tabs) %>
        <div class="row">
          <ul class="nav nav-tabs w-100 mt-4 px-0">
            <%= yield :page_tabs %>
          </ul>
        </div>
      <% end %>

    </div>
  <% end %>
</div>

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
spree_backend-4.2.7 app/views/spree/admin/shared/_content_header.html.erb
spree_backend-4.2.6 app/views/spree/admin/shared/_content_header.html.erb
spree_backend-4.2.5 app/views/spree/admin/shared/_content_header.html.erb
spree_backend-4.2.4 app/views/spree/admin/shared/_content_header.html.erb
spree_backend-4.2.3.1 app/views/spree/admin/shared/_content_header.html.erb
spree_backend-4.2.3 app/views/spree/admin/shared/_content_header.html.erb
spree_backend-4.2.2 app/views/spree/admin/shared/_content_header.html.erb
spree_backend-4.2.1 app/views/spree/admin/shared/_content_header.html.erb
spree_backend-4.2.0 app/views/spree/admin/shared/_content_header.html.erb
spree_backend-4.2.0.rc5 app/views/spree/admin/shared/_content_header.html.erb
spree_backend-4.2.0.rc4 app/views/spree/admin/shared/_content_header.html.erb
spree_backend-4.2.0.rc3 app/views/spree/admin/shared/_content_header.html.erb
spree_backend-4.2.0.rc2 app/views/spree/admin/shared/_content_header.html.erb
spree_backend-4.2.0.rc1 app/views/spree/admin/shared/_content_header.html.erb
spree_backend-4.2.0.beta app/views/spree/admin/shared/_content_header.html.erb