-
-
Notifications
You must be signed in to change notification settings - Fork 775
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
landing page: final changes #1412
Conversation
app/retail/views.py
Outdated
@@ -54,6 +54,9 @@ def index(request): | |||
'slides': slides, | |||
'slideDurationInMs': 6000, | |||
'active': 'home', | |||
'hide_newsletter_caption': true, |
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.
F821 undefined name 'true'
app/retail/views.py
Outdated
@@ -54,6 +54,9 @@ def index(request): | |||
'slides': slides, | |||
'slideDurationInMs': 6000, | |||
'active': 'home', | |||
'hide_newsletter_caption': true, | |||
'hide_newsletter_consent': true, |
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.
F821 undefined name 'true'
2fef396
to
e91b9d9
Compare
Codecov Report
@@ Coverage Diff @@
## master #1412 +/- ##
=======================================
Coverage 30.26% 30.26%
=======================================
Files 125 125
Lines 9038 9038
Branches 1159 1159
=======================================
Hits 2735 2735
Misses 6194 6194
Partials 109 109
Continue to review full report at Codecov.
|
- flexibly remove consent and caption text - changed position in landing page - update relevant CSS
e91b9d9
to
50bc7cb
Compare
This is on staging. |
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.
Other than the question about the new bools in retail/views.py, lgtm.
@@ -54,6 +54,9 @@ def index(request): | |||
'slides': slides, | |||
'slideDurationInMs': 6000, | |||
'active': 'home', | |||
'hide_newsletter_caption': True, |
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.
What's the utility of this bool? Are we altering this value at any point? 🤔
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.
@mbeacom I think what @thelostone-mc has done here is he is sending this boolean only to landing-page, which makes it non-hidden in all the other pages. Hence both the caption and consent are shown in every other page except the landing page.
c463088
to
b351b45
Compare
b351b45
to
a77ce20
Compare
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.
LGTM
app/assets/v2/css/landing_page.css
Outdated
@@ -495,10 +495,11 @@ body { | |||
padding: 10px !important; | |||
min-width: 18rem !important; | |||
font-size: 16px !important; | |||
border: 1px solid #888 !important; | |||
} |
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.
@SaptakS this only changes the border for larger devices :P
Description
Checklist
Affected core subsystem(s)