Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deleted white spaces in if statements (content.html) #1560

Merged
1 commit merged into from Aug 14, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Changelog

## Draft
- deleted whitespaces in if statments(content.html) [#1560](https://github.com/bigcommerce/cornerstone/pull/1560)

## 4.0.0 (2019-08-05)
- Update @babel/polyfill to 7.4.4 [#1521](https://github.com/bigcommerce/cornerstone/pull/1521)
Expand Down
6 changes: 3 additions & 3 deletions templates/components/cart/content.html
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ <h4 class="cart-item-name"><a href="{{url}}">{{name}}</a></h4>

<label class="form-label cart-item-label" for="qty-{{id}}">{{lang 'products.quantity'}}</label>
<div class="form-increment">
{{# if can_modify}}
{{#if can_modify}}
<button class="button button--icon" data-cart-update data-cart-itemid="{{id}}" data-action="dec">
<span class="is-srOnly">{{lang 'products.quantity_decrease'}}</span>
<i class="icon" aria-hidden="true"><svg><use xlink:href="#icon-keyboard-arrow-down" /></svg></i>
Expand All @@ -102,7 +102,7 @@ <h4 class="cart-item-name"><a href="{{url}}">{{name}}</a></h4>
data-cart-itemid="{{id}}"
data-action="manualQtyChange"
aria-live="polite"{{#unless can_modify}} disabled{{/unless}}>
{{# if can_modify}}
{{#if can_modify}}
<button class="button button--icon" data-cart-update data-cart-itemid="{{id}}" data-action="inc">
<span class="is-srOnly">{{lang 'products.quantity_increase'}}</span>
<i class="icon" aria-hidden="true"><svg><use xlink:href="#icon-keyboard-arrow-up" /></svg></i>
Expand All @@ -122,7 +122,7 @@ <h4 class="cart-item-name"><a href="{{url}}">{{name}}</a></h4>
{{else}}
{{> components/common/login-for-pricing}}
{{/or}}
{{# if can_modify}}
{{#if can_modify}}
<a class="cart-remove icon" data-cart-itemid="{{id}}" href="#" data-confirm-delete="{{lang 'cart.confirm_delete'}}">
<svg><use xlink:href="#icon-close"></use></svg>
</a>
Expand Down