Separate welcome/whats_new pages [MAILPOET-1364]

This commit is contained in:
Fred. P
2018-06-05 15:09:03 +02:00
parent 0f46ecc433
commit 506f2d0fbf
3 changed files with 8 additions and 16 deletions

View File

@@ -46,12 +46,17 @@ Please add custom styles to pages_custom.styl
margin-right: auto margin-right: auto
h1 h1
margin: 0.2em 200px 0 0 margin: 1em 0 0.5em 0
padding: 0 padding: 0
color: #32373c color: #32373c
line-height: 1.2em line-height: 1.2em
font-size: 2.8em font-size: 2.8em
font-weight: 400 font-weight: 400
text-align: center
h1.welcome
margin-right: 200px
text-align: left
h2 h2
margin: 40px 0 .6em margin: 40px 0 .6em

View File

@@ -3,20 +3,12 @@
<% block content %> <% block content %>
<div class="wrap mailpoet-about-wrap"> <div class="wrap mailpoet-about-wrap">
<h1><%= __('Greetings, humans.') %></h1> <h1><%= __('Thanks for updating MailPoet') %></h1>
<p class="about-text"><%= __('The new MailPoet. Simply better. And with regular updates.') %></p>
<div class="mailpoet-logo"><img src="<%= image_url('welcome_template/mailpoet-logo.png') %>" alt="MailPoet Logo" /></div>
<div class="feature-section one-col mailpoet_centered"> <div class="feature-section one-col mailpoet_centered">
<a class="button button-primary go-to-plugin" href="<%= redirect_url %>"><%= __('Thanks, now take me to where I was going.') %> &rarr;</a> <a class="button button-primary go-to-plugin" href="<%= redirect_url %>"><%= __('Thanks, now take me to where I was going.') %> &rarr;</a>
</div> </div>
<h2 class="nav-tab-wrapper wp-clearfix">
<a href="admin.php?page=mailpoet-welcome" class="nav-tab"><%= __('Welcome') %></a>
<a href="admin.php?page=mailpoet-update" class="nav-tab nav-tab-active"><%= __("What's New") %></a>
</h2>
<div id="mailpoet-changelog" class="feature-section one-col"> <div id="mailpoet-changelog" class="feature-section one-col">
<h2 class="mailpoet-feature-top"><%= __('List of Changes') %></h2> <h2 class="mailpoet-feature-top"><%= __('List of Changes') %></h2>
<% if changelog %> <% if changelog %>

View File

@@ -3,16 +3,11 @@
<% block content %> <% block content %>
<div class="wrap mailpoet-about-wrap"> <div class="wrap mailpoet-about-wrap">
<h1><%= __('Greetings, humans.') %></h1> <h1 class="welcome"><%= __('Greetings, humans.') %></h1>
<p class="about-text"><%= __('The new MailPoet. Simply better. And with regular updates.') %></p> <p class="about-text"><%= __('The new MailPoet. Simply better. And with regular updates.') %></p>
<div class="mailpoet-logo"><img src="<%= image_url('welcome_template/mailpoet-logo.png') %>" alt="<%= __('MailPoet Logo') %>" /></div> <div class="mailpoet-logo"><img src="<%= image_url('welcome_template/mailpoet-logo.png') %>" alt="<%= __('MailPoet Logo') %>" /></div>
<h2 class="nav-tab-wrapper wp-clearfix">
<a href="admin.php?page=mailpoet-welcome" class="nav-tab nav-tab-active"><%= __('Welcome') %></a>
<a href="admin.php?page=mailpoet-update" class="nav-tab"><%= __("What's new") %></a>
</h2>
<% set random = random(2) %> <% set random = random(2) %>
<div <% if random != 0 %>style="display: none;"<% endif %>> <div <% if random != 0 %>style="display: none;"<% endif %>>