Add a "Preview" button in template select page

This commit is contained in:
Tautvidas Sipavičius
2016-07-29 17:11:30 +03:00
parent a3a5016278
commit 2e52f3bb92

View File

@@ -221,9 +221,8 @@ define(
</a>
&nbsp;
<a
style={ { display: 'none' }}
className="button button-secondary"
onClick={ this.handlePreviewTemplate.bind(null, template) }
onClick={ this.handleShowTemplate.bind(null, template) }
>
{MailPoet.I18n.t('preview')}
</a>