-
Notifications
You must be signed in to change notification settings - Fork 114
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
Changes for supermarket banner for announcements #2306
Changes for supermarket banner for announcements #2306
Conversation
df6ea2f
to
e6b75f6
Compare
Simplecov Report
|
Signed-off-by: smriti <sgarg@msystechnologies.com> div id documented for better understanding Signed-off-by: smriti <sgarg@msystechnologies.com>
048995d
to
5f2a10a
Compare
…g partial Signed-off-by: smriti <sgarg@msystechnologies.com>
Signed-off-by: smriti <sgarg@msystechnologies.com>
@@ -20,7 +20,7 @@ | |||
<% end %> | |||
<%= csrf_meta_tags %> | |||
<% unless air_gapped? %> | |||
<%= render 'analytics' %> | |||
<%= render partial: 'application/analytics' %> |
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.
Do we really need partial, i think it will work without partial
<%= render 'application/analytics' %>
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.
It can.. but adding partial makes it more readable in my opinion
Signed-off-by: smriti <sgarg@msystechnologies.com>
Signed-off-by: smriti sgarg@msystechnologies.com
Description
We have added a new partial to render banner for supermarket announcements.
Also introduced once env variable which when defined will be rendered on supermarket main page. This will also help to update the banner text without requiring a code change in future.
Also introduced specs for application.html.erb
Issues Resolved
#2292
Check List