Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
ecommerce-maven
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ascend
ecommerce-maven
Commits
50ed5394
Commit
50ed5394
authored
May 11, 2021
by
Shaphen Pangburn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[AFP-48 Shaphen Pangburn]: Only show user login notice when logged out
parent
6dfe5cf9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
product-item.jsx
ecom-web/src/components/product-market/product-item.jsx
+1
-1
product-market.css
ecom-web/src/resources/stylesheets/product-market.css
+1
-1
No files found.
ecom-web/src/components/product-market/product-item.jsx
View file @
50ed5394
...
...
@@ -91,7 +91,7 @@ export default class ProductItem extends Component {
{
"Save "
+
this
.
props
.
item
.
promo
+
"% on this item!"
}
</
p
>
:
""
}
<
form
onSubmit=
{
e
=>
this
.
handleSubmit
(
e
,
this
.
props
.
item
)
}
className=
"add-cart-and-quantity"
>
<
p
id=
"please-log-in-notice"
>
Log in to Add to Cart
</
p
>
{
this
.
props
.
user
?.
currentUser
?
""
:<
p
id=
"please-log-in-notice"
>
Log in to Add to Cart
</
p
>
}
<
input
className=
"order-quantity"
type=
"number"
...
...
ecom-web/src/resources/stylesheets/product-market.css
View file @
50ed5394
...
...
@@ -183,7 +183,7 @@
position
:
absolute
;
bottom
:
47px
;
left
:
22px
;
padding
:
5
px
10px
;
padding
:
3
px
10px
;
border-radius
:
5px
;
background-color
:
rgb
(
248
,
76
,
76
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment