<em>({{ts('No content to preview')}})</em>
</div>
<div ng-hide="!mailing.body_html">
- <button ng-disabled="crmMailing.$invalid" ng-click="doPreview('html')">{{ts('Preview as HTML')}}</button>
+ <a class="crm-hover-button" crm-icon="newwin" ng-disabled="crmMailing.$invalid" ng-click="doPreview('html')">{{ts('Preview as HTML')}}</a>
</div>
- <div ng-hide="!mailing.body_text">
- <button ng-disabled="crmMailing.$invalid" ng-click="doPreview('text')">{{ts('Preview as Plain Text')}}</button>
+ <div ng-hide="!mailing.body_html && !mailing.body_text">
+ <a class="crm-hover-button" crm-icon="newwin" ng-disabled="crmMailing.$invalid" ng-click="doPreview('text')">{{ts('Preview as Plain Text')}}</a>
</div>
<!--
<div ng-hide="!mailing.body_html && !mailing.body_text">