Sha256: 7543ec3310ffe0a456f92f3379a435c40afa505d40a4e50f565b3e2e3c1a7134

Contents?: true

Size: 504 Bytes

Versions: 5

Compression:

Stored size: 504 Bytes

Contents

<% if spree_current_user %>
  <li><%= link_to t('spree.my_account'), spree.account_path %></li>
  <li><%= link_to t('spree.logout'), spree.logout_path, method: Devise.sign_out_via %></li>
<% else %>
  <li>
    <div class="bolt-account-sso"></div>
  </li>
  <script>
    function insertButtons() {
      if (typeof BoltAccount === 'undefined') {
          window.setTimeout(insertButtons, 100);
          return;
      }
      BoltAccount.injectButtons();
    }
    insertButtons();
  </script>
<% end %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
solidus_bolt-0.4.0 lib/views/frontend/spree/shared/_login_bar_items.html.erb
solidus_bolt-0.3.0 lib/views/frontend/spree/shared/_login_bar_items.html.erb
solidus_bolt-0.2.0 lib/views/frontend/spree/shared/_login_bar_items.html.erb
solidus_bolt-0.1.0 lib/views/frontend/spree/shared/_login_bar_items.html.erb
solidus_bolt-0.0.1 lib/views/frontend/spree/shared/_login_bar_items.html.erb