-
Notifications
You must be signed in to change notification settings - Fork 96
a few small fixes that have also been made in the classic theme in progress #407
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
Merged
kpodemski
merged 12 commits into
PrestaShop:develop
from
JBLach:verify-the-compatibility-with-natives-modules
Jan 5, 2023
Merged
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
1f13848
a few small fixes that have also been made in the classic theme
JBLach 93111d0
ps_imageslider corrections
JBLach 0b19bd4
improved style of modules 'ps_supplierlist', 'ps_brandlist' in the le…
JBLach 0483598
scss lint fix
JBLach 61fbf99
added a class to h1 on brands and supplier pages
JBLach e448dd4
productcomments confirm-modal buttons correction
JBLach 9b60d63
padding/margin/border changes for left columns modules
JBLach 0f55333
mailalerts-account styling example
JBLach f3e217b
corrections
JBLach f0f69f4
layout changes for manufacturer & supplier pages
JBLach aea197c
page section title component, added mising img-fluid class in categor…
JBLach 7ca3654
remove h1 class
JBLach File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
24 changes: 24 additions & 0 deletions
24
modules/ps_emailalerts/views/templates/front/mailalerts-account-line.tpl
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{** | ||
* For the full copyright and license information, please view the LICENSE | ||
* file that was distributed with this source code. | ||
*} | ||
{$componentName = 'mailalerts-account-line'} | ||
|
||
<div class="{$componentName} d-flex flex-column position-relative"> | ||
<a href="{$mailAlert.link}" class="text-center"> | ||
<img src="{$mailAlert.cover_url}" alt="" /> | ||
</a> | ||
<a class="mt-2" href="{$mailAlert.link}"> | ||
<div class="{$componentName}__product d-flex flex-column"> | ||
<span class="{$componentName}__product__name">{$mailAlert.name}</span> | ||
<span class="{$componentName}__product__attributes mt-1">{$mailAlert.attributes_small}</span> | ||
</div> | ||
</a> | ||
<a href="#" | ||
title="{l s='Remove mail alert' d='Modules.Emailalerts.Shop'}" | ||
class="js-remove-email-alert btn btn-link {$componentName}__remove" | ||
rel="js-id-emailalerts-{$mailAlert.id_product|intval}-{$mailAlert.id_product_attribute|intval}" | ||
data-url="{url entity='module' name='ps_emailalerts' controller='actions' params=['process' => 'remove']}"> | ||
<i class="material-icons">delete</i> | ||
</a> | ||
</div> |
21 changes: 21 additions & 0 deletions
21
modules/ps_emailalerts/views/templates/front/mailalerts-account.tpl
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{** | ||
* For the full copyright and license information, please view the LICENSE | ||
* file that was distributed with this source code. | ||
*} | ||
{extends file='customer/page.tpl'} | ||
|
||
{block name='page_title'} | ||
{l s='My alerts' d='Modules.Emailalerts.Shop'} | ||
{/block} | ||
|
||
{block name='page_content'} | ||
{if $mailAlerts} | ||
<ul class="row"> | ||
{foreach from=$mailAlerts item=mailAlert} | ||
<li class="col-sm-6 col-md-3">{include 'module:ps_emailalerts/views/templates/front/mailalerts-account-line.tpl' mailAlert=$mailAlert}</li> | ||
{/foreach} | ||
</ul> | ||
{else} | ||
<div class="alert alert-info" role="alert" data-alert="info">{l s='No mail alerts yet.' d='Modules.Emailalerts.Shop'}</div> | ||
{/if} | ||
{/block} |
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
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
@import "mailalerts-account"; |
29 changes: 29 additions & 0 deletions
29
src/scss/custom/components/mailalerts-account/_mailalerts-account.scss
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
$component-name: mailalerts-account-line; | ||
|
||
.#{$component-name} { | ||
padding: 1rem; | ||
border: var(--bs-border-width) solid var(--bs-border-color); | ||
border-radius: var(--bs-border-radius-xl); | ||
|
||
&__product { | ||
min-height: 54px; | ||
|
||
&__name { | ||
font-size: 0.875rem; | ||
font-weight: 600; | ||
color: var(--bs-body-color); | ||
} | ||
|
||
&__attributes { | ||
font-size: 0.75rem; | ||
color: var(--bs-body-color); | ||
} | ||
} | ||
|
||
&__remove { | ||
position: absolute; | ||
top: 0; | ||
right: 0; | ||
color: var(--bs-black); | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
@import "search-filters-modules"; |
26 changes: 26 additions & 0 deletions
26
src/scss/custom/components/search-filters-modules/_search-filters-modules.scss
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
$component-name: search-filters-modules; | ||
|
||
.#{$component-name} { | ||
padding-bottom: 1rem; | ||
margin-bottom: 2rem; | ||
border-bottom: var(--category-tree-border-bottom); | ||
|
||
&-title { | ||
font-size: var(--category-tree-title-size); | ||
font-weight: 600; | ||
color: var(--category-tree-title-color); | ||
} | ||
|
||
&__list { | ||
margin-bottom: 0; | ||
} | ||
|
||
&__item { | ||
&__link { | ||
display: block; | ||
font-weight: 600; | ||
line-height: 2rem; | ||
color: var(--category-tree-title-color); | ||
} | ||
} | ||
} |
4 changes: 4 additions & 0 deletions
4
src/scss/custom/components/search-filters/_search-filters.scss
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
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
D1F2
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
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.