Files
piratepoet/views/layout.html
Jonathan Labreuille 3c46a5b434 Optimized Bulk actions
- Updated SQL schema for every created_at column so that it has a default value
- Updated unit tests based on recent changes (new methods in SubscriberSegment model)
- Added check for HelpScout initialization code so that it doesn't throw errors
2016-05-27 14:15:46 +02:00

66 lines
1.6 KiB
HTML

<% if sub_menu %>
<script type="text/javascript">
jQuery('.toplevel_page_mailpoet.menu-top-last')
.addClass('wp-has-current-submenu')
.find('a[href$="<%= sub_menu %>"]')
.addClass('current')
.parent()
.addClass('current');
</script>
<% endif %>
<!-- system notices -->
<div id="mailpoet_notice_system" class="mailpoet_notice" style="display:none;"></div>
<!-- handlebars templates -->
<% block templates %><% endblock %>
<!-- main container -->
<div class="wrap">
<!-- notices -->
<div id="mailpoet_notice_error" class="mailpoet_notice" style="display:none;"></div>
<div id="mailpoet_notice_success" class="mailpoet_notice" style="display:none;"></div>
<!-- title block -->
<% block title %><% endblock %>
<!-- content block -->
<% block content %><% endblock %>
</div>
<!-- stylesheets -->
<%= stylesheet(
'admin.css'
)%>
<!-- rtl specific stylesheet -->
<% if is_rtl %>
<%= stylesheet('rtl.css') %>
<% endif %>
<% block after_css %><% endblock %>
<!-- javascripts -->
<%= javascript(
'vendor.js',
'mailpoet.js'
)%>
<% block translations %><% endblock %>
<%= javascript(
'admin.js'
)%>
<script type="text/javascript">
var mailpoet_date_format = "<%= wp_datetime_format() %>";
if(window['HS'] !== undefined) {
HS.beacon.config({
icon: 'message',
zIndex: 50000,
instructions: '<%= __('Want to give feedback to the MailPoet team? Write them right here with as much information as possible.') %>',
});
}
</script>
<% block after_javascript %><% endblock %>