Make the new page accessible
[MAILPOET-2678]
This commit is contained in:
committed by
Veljko V
parent
4d12bba87f
commit
a6df9a6ce3
@@ -59,6 +59,9 @@ if (jQuery('#mailpoet_settings').length > 0) {
|
||||
if (tab === 'premium') {
|
||||
window.location.href = '?page=mailpoet-new-settings#/premium';
|
||||
}
|
||||
if (tab === 'signup') {
|
||||
window.location.href = '?page=mailpoet-new-settings#/signup';
|
||||
}
|
||||
// reset all active tabs
|
||||
jQuery('.nav-tab-wrapper a').removeClass('nav-tab-active');
|
||||
|
||||
|
@@ -18,13 +18,13 @@ export default () => {
|
||||
>
|
||||
{t('basicsTab')}
|
||||
</TabLink>
|
||||
<a
|
||||
className="nav-tab"
|
||||
href="?page=mailpoet-settings#signup"
|
||||
data-automation-id="signup_settings_tab"
|
||||
<TabLink
|
||||
name="signup"
|
||||
current={current}
|
||||
automationId="signup_settings_tab"
|
||||
>
|
||||
{t('signupConfirmationTab')}
|
||||
</a>
|
||||
</TabLink>
|
||||
<a
|
||||
className="nav-tab"
|
||||
href="?page=mailpoet-settings#mta"
|
||||
|
@@ -16,7 +16,7 @@
|
||||
<!-- tabs -->
|
||||
<h2 class="nav-tab-wrapper" id="mailpoet_settings_tabs">
|
||||
<a class="nav-tab" href="?page=mailpoet-new-settings#/basics" data-automation-id="basic_settings_tab"><%= __('Basics') %></a>
|
||||
<a class="nav-tab" href="#signup" data-automation-id="signup_settings_tab"><%= __('Sign-up Confirmation') %></a>
|
||||
<a class="nav-tab" href="?page=mailpoet-new-settings#signup" data-automation-id="signup_settings_tab"><%= __('Sign-up Confirmation') %></a>
|
||||
<a class="nav-tab" href="#mta" data-automation-id="send_with_settings_tab"><%= __('Send With...') %></a>
|
||||
<% if is_woocommerce_active %>
|
||||
<a class="nav-tab" href="?page=mailpoet-new-settings#/woocommerce" data-automation-id="woocommerce_settings_tab"><%= __('WooCommerce') %></a>
|
||||
|
Reference in New Issue
Block a user