Sha256: 7ba516c759b7152ceb2175574ff4d41ad0a63f59cdbc92fb464afa725b4442b4

Contents?: true

Size: 1.08 KB

Versions: 1

Compression:

Stored size: 1.08 KB

Contents

<% admin_breadcrumb(plural_resource_name(SolidusBolt::BoltConfiguration)) %>

<% content_for :page_actions do %>
  <% if SolidusBolt::BoltConfiguration.config_empty? %>
    <li>
      <%= raw t(
        'spree.admin.bolt.register_merchant_account',
        production_link: link_to(t('spree.admin.bolt.production'), SolidusBolt::BoltConfiguration::PRODUCTION_REGISTER_URL, target: '_blank'),
        sandbox_link: link_to(t('spree.admin.bolt.sandbox'), SolidusBolt::BoltConfiguration::SANDBOX_REGISTER_URL, target: '_blank'),
        bolt_image: image_tag("bolt_logo_standard.png", alt: "Bolt", width: "40")
        ) %>
    </li>
  <% else %>
    <li>
      <%= link_to 'Configure Callbacks URLs', new_admin_bolt_callback_urls_path, class: 'btn btn-primary' %>
    </li>
    <li>
      <%= link_to 'Configure Webhooks', new_admin_bolt_webhook_path, class: 'btn btn-primary' %>
    </li>
  <% end %>
<% end %>

<fieldset class="no-border-bottom">
  <legend align="center"><%= t('spree.admin.bolt.configuration') %></legend>
  <%= render partial: 'configuration', locals: { edit_btn: 'Edit' } %>
</fieldset>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
solidus_bolt-0.5.0 app/views/spree/admin/bolts/show.html.erb