">
">
">
">
<%= t(:app_title, default: "VersaCommerce Example App") %>
<%= stylesheet_link_tag 'application' %> <%= csrf_meta_tags %>
<%= link_to t(:app_title, default: "VersaCommerce Example App"), "/", class: "navbar-brand" %>
<% if current_shop %>
API Documentation
API GEM
<%= current_shop.url %>
<%= link_to raw('
Shop'), "http://#{current_shop.url}", :target => 'blank' %>
<%= link_to raw('
Admin'), "http://#{current_shop.url}/admin", :target => 'blank' %>
<%= link_to raw('
Logout'), logout_path, :method => :delete %>
<%- unless @installed_shops.blank? %>
<%= t('sessions.views.switch_shop') %>
<%- @installed_shops.each do |shop| %>
<%= link_to shop.split('.').first.titleize, 'javascript:void(0);', class: (current_shop.url == shop ? 'switch-shop-current' : 'switch-shop'), rel: (current_shop.url == shop ? nil : shop)%>
<%- end %>
<%= link_to t('layout.add_new_shop'), login_path %>
<%- end %>
<% end %>
<% flash.each do |type, message| %>
<%= message %>
<% end %> <%= yield %>
<%= javascript_include_tag 'application' %>