Better file naming

[MAILPOET-1927]
This commit is contained in:
Ján Mikláš
2019-04-10 11:19:13 +02:00
committed by Ján Mikláš
parent 0f703cf1b3
commit adff168db9
7 changed files with 10 additions and 10 deletions

View File

@@ -82,7 +82,7 @@ const WelcomeWizardStepsController = (props) => {
<WelcomeWizardStepLayout
step={step}
stepsCount={stepsCount}
illustrationUrl={window[`step_${step}_illustration_url`]}
illustrationUrl={window.wizard_sender_illustration_url}
>
<WelcomeWizardSenderStep
update_sender={updateSender}
@@ -100,7 +100,7 @@ const WelcomeWizardStepsController = (props) => {
<WelcomeWizardStepLayout
step={step}
stepsCount={stepsCount}
illustrationUrl={window[`step_${step}_illustration_url`]}
illustrationUrl={window.wizard_sender_illustration_url}
>
<WelcomeWizardMigratedUserStep
next={() => props.history.push('/steps/2')}
@@ -114,7 +114,7 @@ const WelcomeWizardStepsController = (props) => {
<WelcomeWizardStepLayout
step={step}
stepsCount={stepsCount}
illustrationUrl={window[`step_${step}_illustration_url`]}
illustrationUrl={window.wizard_email_course_illustration_url}
>
<WelcomeWizardEmailCourseStep
next={() => props.history.push('/steps/3')}
@@ -128,7 +128,7 @@ const WelcomeWizardStepsController = (props) => {
<WelcomeWizardStepLayout
step={step}
stepsCount={stepsCount}
illustrationUrl={window[`step_${step}_illustration_url`]}
illustrationUrl={window.wizard_tracking_illustration_url}
>
<WelcomeWizardUsageTrackingStep
skip_action={showWooCommerceStepOrFinish}
@@ -146,7 +146,7 @@ const WelcomeWizardStepsController = (props) => {
<WelcomeWizardStepLayout
step={step}
stepsCount={stepsCount}
illustrationUrl={window[`step_${step}_illustration_url`]}
illustrationUrl={window.wizard_woocommerce_illustration_url}
>
<WelcomeWizardWooCommerceStep
next={finishWizard}

View File

Before

Width:  |  Height:  |  Size: 38 KiB

After

Width:  |  Height:  |  Size: 38 KiB

View File

Before

Width:  |  Height:  |  Size: 38 KiB

After

Width:  |  Height:  |  Size: 38 KiB

View File

Before

Width:  |  Height:  |  Size: 33 KiB

After

Width:  |  Height:  |  Size: 33 KiB

View File

Before

Width:  |  Height:  |  Size: 37 KiB

After

Width:  |  Height:  |  Size: 37 KiB

View File

@@ -3,11 +3,11 @@
<% block content %>
<script>
var mailpoet_logo_url = '<%= cdn_url('welcome-wizard/mailpoet-logo.20190109-1400.png') %>';
var step_1_illustration_url = '<%= cdn_url('welcome-wizard/step1.20190409.png') %>';
var step_2_illustration_url = '<%= cdn_url('welcome-wizard/step2.20190409.png') %>';
var step_3_illustration_url = '<%= cdn_url('welcome-wizard/step3.20190409.png') %>';
var step_4_illustration_url = '<%= cdn_url('welcome-wizard/step4.20190409.png') %>';
var step_4_woocommerce_box_url = '<%= cdn_url('welcome-wizard/step4-woocommerce.20190409.png') %>';
var wizard_sender_illustration_url = '<%= cdn_url('welcome-wizard/sender.20190409.png') %>';
var wizard_email_course_illustration_url = '<%= cdn_url('welcome-wizard/email-course.20190409.png') %>';
var wizard_tracking_illustration_url = '<%= cdn_url('welcome-wizard/tracking.20190409.png') %>';
var wizard_woocommerce_illustration_url = '<%= cdn_url('welcome-wizard/woocommerce.20190409.png') %>';
var wizard_woocommerce_box_url = '<%= cdn_url('welcome-wizard/woocommerce-box.20190409.png') %>';
var is_mp2_migration_complete = <%= json_encode(is_mp2_migration_complete) %>;
var is_woocommerce_active = <%= json_encode(is_woocommerce_active) %>;
var finish_wizard_url = '<%= finish_wizard_url %>';