Skip to content

Commit

Permalink
changes
Browse files Browse the repository at this point in the history
  • Loading branch information
jameshamann committed Jun 30, 2017
1 parent 030d9d8 commit fd0db01
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions app/views/layouts/_cart_text.html.erb
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<div class="cart-text">
<% if current_order.order_items.size > 1 %>
<%= link_to "#{current_order.order_items.size} Items in Cart ( #{number_to_currency current_order.subtotal} )", cart_path %>
<% else %>
<%= link_to "#{current_order.order_items.size} Item in Cart ( #{number_to_currency current_order.subtotal} )", cart_path %>
<% end %>
</div>
<% if current_order.order_items.size > 1 %>
<%= link_to "#{current_order.order_items.size} Items in Cart ( #{number_to_currency current_order.subtotal} )", cart_path %>
<% else %>
<%= link_to "#{current_order.order_items.size} Item in Cart ( #{number_to_currency current_order.subtotal} )", cart_path %>
<% end %>

0 comments on commit fd0db01

Please sign in to comment.