-
Notifications
You must be signed in to change notification settings - Fork 82
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
[IMPROVEMENTS - PART 1] Global quality improvement #668
base: develop
Are you sure you want to change the base?
Changes from 17 commits
6a4f1d9
77b0a20
65c31ce
ddfe295
c831af8
e1ab2d3
e2b7022
05070d3
c147f43
2d7f6d9
89dddd8
6291261
5f7efa7
31145ba
1feb248
08073b3
55a9244
9edd52d
3d91468
4af6d8b
92948a5
ed79c63
3fee3fb
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
module.exports = { | ||
overrides: [ | ||
{ | ||
files: "*.scss", | ||
options: { | ||
printWidth: 100, | ||
tabWidth: 2, | ||
useTabs: false, | ||
singleQuote: false, | ||
bracketSpacing: true, | ||
parser: "scss", | ||
}, | ||
}, | ||
], | ||
}; |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,38 +2,38 @@ | |
* For the full copyright and license information, please view the LICENSE | ||
* file that was distributed with this source code. | ||
*} | ||
<div class="contact__details"> | ||
<p class="h2 contact__title">{l s='Store information' d='Shop.Theme.Global'}</p> | ||
<div class="contact__item"> | ||
<i class="material-icons" aria-hidden="true"></i> | ||
<div class="contact__info">{$contact_infos.address.formatted nofilter}</div> | ||
<div class="ps-contactinfo"> | ||
<p class="h2 ps-contactinfo__title">{l s='Store information' d='Shop.Theme.Global'}</p> | ||
<div class="ps-contactinfo__item"> | ||
<i class="material-icons" aria-hidden="true"></i> | ||
<div class="ps-contactinfo__info">{$contact_infos.address.formatted nofilter}</div> | ||
</div> | ||
{if $contact_infos.phone} | ||
<hr/> | ||
<div class="contact__item"> | ||
<div class="ps-contactinfo__item"> | ||
<i class="material-icons" aria-hidden="true"></i> | ||
<div class="contact__info"><a href="tel:{$contact_infos.phone}">{$contact_infos.phone}</a></div> | ||
<div class="ps-contactinfo__info"><a href="tel:{$contact_infos.phone|escape:'htmlall':'UTF-8'}">{$contact_infos.phone|escape:'htmlall':'UTF-8'}</a></div> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What's the point of adding There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Hello @kpodemski 👋 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. As far as I know, those are still relevant for the back office but not the front office. They were removed on purpose in 1.7 quite a long time ago. Let me also ping @jolelievre, so he is also aware of this recommendation and share his opinion :) |
||
</div> | ||
{/if} | ||
{if $contact_infos.fax} | ||
<hr/> | ||
<div class="contact__item"> | ||
<i class="material-icons" aria-hidden="true"></i> | ||
<div class="contact__info">{$contact_infos.fax}</div> | ||
<div class="ps-contactinfo__item"> | ||
<i class="material-icons" aria-hidden="true"></i> | ||
<div class="ps-contactinfo__info">{$contact_infos.fax|escape:'htmlall':'UTF-8'}</div> | ||
tblivet marked this conversation as resolved.
Show resolved
Hide resolved
|
||
</div> | ||
{/if} | ||
{if $contact_infos.email && $display_email} | ||
<hr/> | ||
<div class="contact__item"> | ||
<div class="ps-contactinfo__item"> | ||
<i class="material-icons" aria-hidden="true"></i> | ||
<div class="contact__info contact__info--email">{mailto address=$contact_infos.email encode="javascript"}</div> | ||
<div class="ps-contactinfo__info ps-contactinfo__info--email">{mailto address=$contact_infos.email encode="javascript"}</div> | ||
</div> | ||
{/if} | ||
{if !empty($contact_infos.details)} | ||
<hr/> | ||
<div class="contact__item"> | ||
<div class="ps-contactinfo__item"> | ||
<i class="material-icons" aria-hidden="true"></i> | ||
<div class="contact__info">{$contact_infos.details|nl2br nofilter}</div> | ||
<div class="ps-contactinfo__info">{$contact_infos.details|nl2br nofilter}</div> | ||
</div> | ||
{/if} | ||
</div> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
for part 2 it would be interesting to put all the ex code in text so that it remains more meaningful.