CRM-15856 - crmMailingAB - Update date-time widgets
authorTim Otten <totten@civicrm.org>
Wed, 11 Feb 2015 00:00:53 +0000 (16:00 -0800)
committerTim Otten <totten@civicrm.org>
Wed, 11 Feb 2015 00:06:23 +0000 (16:06 -0800)
partials/crmMailingAB/selectWinner.html
partials/crmMailingAB/setup.html

index 62602248af813ef3aac778e6d532a51e7650911a..67a8a316eb188ffe1e1a753e00eb0607a24c3229 100644 (file)
@@ -4,7 +4,7 @@
       {{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" crm-model="abtest.mailings.c.scheduled_date">
+    <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>
@@ -12,7 +12,7 @@
       <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>
-        <span crm-ui-date-time="schedule.datetime"></span>
+        <span crm-ui-date-time ng-model="schedule.datetime"></span>
       </div>
     </div>
   </form>
index 89150f397570052f3febb5dc1c0e115e2ac32654..1778057e356cbe4ab85fdd704169acee7d4f4c03 100644 (file)
@@ -42,7 +42,7 @@
       <div crm-mailing-ab-slider ng-model="abtest.ab.group_percentage"></div>
     </div>
     <div crm-ui-field crm-title="ts('Send')" ng-if="fields.scheduled_date">
-      <div crm-mailing-radio-date="schedule" crm-model="abtest.mailings.a.scheduled_date">
+      <div crm-mailing-radio-date="schedule" ng-model="abtest.mailings.a.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 A/B test immediately')}}</label>
           <div>
             <input ng-model="schedule.mode" type="radio" name="send" value="at" id="schedule-send-at"/>
             <label for="schedule-send-at">{{ts('Send A/B test at:')}}</label>
-            <span crm-ui-date-time="schedule.datetime"></span>
+            <span crm-ui-date-time ng-model="schedule.datetime"></span>
           </div>
       </div>
     </div>
     <div crm-ui-field crm-title="ts('Assess')" ng-if="fields.declare_winning_time">
-      <div crm-mailing-radio-date="assessSched" crm-model="abtest.ab.declare_winning_time">
+      <div crm-mailing-radio-date="assessSched" ng-model="abtest.ab.declare_winning_time">
         <div>
           <input ng-model="assessSched.mode" type="radio" name="assess" value="now" id="schedule-assess-now"/>
           <label for="schedule-assess-now">{{ts('Assess A/B results on an on-going basis')}}</label>
@@ -63,7 +63,7 @@
         <div>
           <input ng-model="assessSched.mode" type="radio" name="assess" value="at" id="schedule-assess-at"/>
           <label for="schedule-assess-at">{{ts('Assess A/B test at:')}}</label>
-          <span crm-ui-date-time="assessSched.datetime"></span>
+          <span crm-ui-date-time ng-model="assessSched.datetime"></span>
         </div>
       </div>
     </div>