| 1 |
<div class="cell grid-x text-center acym__campaign__email__save-button"> |
| 2 |
<div class="cell medium-shrink medium-margin-bottom-0 margin-bottom-1 text-left"> |
| 3 |
<?php |
| 4 |
$campaignType = $data['mailInformation']->sending_type ?? $data['campaign_type']; |
| 5 |
echo acym_backToListing( |
| 6 |
in_array($campaignType, ['birthday', 'woocommerce_cart']) |
| 7 |
? 'campaigns&task=specificListing&type='.$campaignType : null |
| 8 |
); |
| 9 |
?> |
| 10 |
</div> |
| 11 |
<div class="cell medium-auto grid-x text-right"> |
| 12 |
<div class="cell medium-auto"></div> |
| 13 |
<?php if (!empty($data['campaignID'])) { ?> |
| 14 |
<button <?php echo $data['before-save']; ?> data-task="save" |
| 15 |
data-step="listing" |
| 16 |
type="submit" |
| 17 |
class="cell button-secondary medium-shrink button medium-margin-bottom-0 margin-right-1 acy_button_submit"> |
| 18 |
<?php echo acym_translation('ACYM_SAVE_EXIT'); ?> |
| 19 |
</button> |
| 20 |
<?php } ?> |
| 21 |
<button <?php echo $data['before-save']; ?> data-task="save" data-step="recipients" type="submit" class="cell medium-shrink button margin-bottom-0 acy_button_submit"> |
| 22 |
<?php echo acym_translation('ACYM_SAVE_CONTINUE'); ?><i class="acymicon-chevron-right"></i> |
| 23 |
</button> |
| 24 |
</div> |
| 25 |
</div> |
| 26 |
|