Created
December 14, 2013 13:59
-
-
Save jameshilliard/7959430 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Deface::Override.new( | |
| :virtual_path => "spree/layouts/spree_application", | |
| :name => "banner", | |
| :replace => ".container", | |
| :text => <<-end | |
| <%= render :partial => 'spree/shared/header' %> | |
| <div class="container" id="main_content"> | |
| <% if store_menu? %> | |
| <div id="cart_wrapper"> | |
| <div id="cart_wrapper_table"> | |
| <div id="cart_wrapper_cell"> | |
| <%= link_to 'MY CART', spree.cart_path, :class => "btn" %> | |
| <span id="total_cart_amount"><%= link_to current_order.display_total, spree.cart_path %></span> | |
| </div> | |
| </div> | |
| </div> | |
| <% end %> | |
| <div id="wrapper" class="row" data-hook> | |
| <%= breadcrumbs(@taxon) %> | |
| <%= render :partial => 'spree/shared/sidebar' if content_for? :sidebar %> | |
| <div id="content" class="columns <%= !content_for?(:sidebar) ? "sixteen" : "twelve" %>" data-hook> | |
| <%= flash_messages %> | |
| <%= yield %> | |
| </div> | |
| <%= yield :templates %> | |
| </div> | |
| <%= render :partial => 'spree/shared/footer' %> | |
| </div> | |
| end | |
| ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment