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

change src for invoice logo image #1326

Merged
1 commit merged into from Aug 14, 2018
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
Expand Up @@ -4,6 +4,7 @@

## 2.3.1 (2018-08-03)
- Fix for review tabs not appearing. [#1322](https://github.com/bigcommerce/cornerstone/pull/1322)
- Fix invoice store logo. [#1326](https://github.com/bigcommerce/cornerstone/pull/1326)

## 2.3.0 (2018-08-02)
- Open correct product page tabs when URL contains a fragment identifier referring to that content [#1304](https://github.com/bigcommerce/cornerstone/pull/1304)
Expand Down
8 changes: 7 additions & 1 deletion templates/pages/account/orders/invoice.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,13 @@
<div class="Invoice">
<h1>
{{#if settings.store_logo.image}}
<img class="header-logo-image lazyload" data-sizes="auto" src="{{cdn 'img/loading.svg'}}" data-src="{{getImage settings.store_logo.image 'logo_size'}}" alt="{{settings.store_logo.title}}" title="{{settings.store_logo.title}}">
{{#if theme_settings.logo_size '===' 'original'}}
<img class="header-logo-image-unknown-size" src="{{getImage settings.store_logo.image 'logo_size'}}" alt="{{settings.store_logo.title}}" title="{{settings.store_logo.title}}">
{{else}}
<div class="header-logo-image-container">
<img class="header-logo-image" data-sizes="auto" src="{{getImage settings.store_logo.image 'logo_size'}}" alt="{{settings.store_logo.title}}" title="{{settings.store_logo.title}}">
</div>
{{/if}}
{{else}}
<span class="header-logo-text">{{settings.store_logo.title}}</span>
{{/if}}
Expand Down