summaryrefslogtreecommitdiff
path: root/www/crm/wp-content/plugins/civicrm/civicrm/ang/crmMailingAB/WinnerDialogCtrl.html
blob: 0c2db4f60248cdf28fd86ddad406610dcea2a851 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<div ng-controller="CrmMailingABWinnerDialogCtrl">
  <form novalidate name="winnerForm">
    <div class="help">
      {{ts('After selecting %1 as the winner, one must schedule the delivery for the final mailing.', {1: mailingTitle})}}
    </div>

    <div crm-mailing-radio-date="schedule" ng-model="abtest.mailings.c.scheduled_date">
      <div>
        <input ng-model="schedule.mode" type="radio" name="send" value="now" id="schedule-send-now"/>
        <label for="schedule-send-now">{{ts('Send final mailing immediately')}}</label>
      </div>
      <div>
        <input ng-model="schedule.mode" type="radio" name="send" value="at" id="schedule-send-at"/>
        <label for="schedule-send-at">{{ts('Send final mailing at:')}}</label>
        <input crm-ui-datepicker ng-model="schedule.datetime"/>
      </div>
    </div>
  </form>
</div>