CRM-15578 - crmMailing2 - Add "tracking.html"
authorTim Otten <totten@civicrm.org>
Mon, 3 Nov 2014 01:23:38 +0000 (17:23 -0800)
committerTim Otten <totten@civicrm.org>
Tue, 11 Nov 2014 00:20:55 +0000 (16:20 -0800)
partials/crmMailing2/tracking.html

index 32568c28b57ee817e3633bd508b0b5780b549c8e..fc49f21c745b47a3dd7cd4e9c2b5548ac2d68a2c 100644 (file)
@@ -1 +1,35 @@
-tracking.html
+<!--
+Controller: EditMailingCtrl
+Required vars: mailing
+FIXME: Don't hardcode table-based layout!
+-->
+<table class="form-layout-compressed">
+  <tbody>
+    <tr>
+      <td>
+        <input name="url_tracking" type="checkbox" ng-model="mailing.url_tracking" ng-true-value="1" ng-false-value="0" />
+        <label crm-ui-label crm-for="url_tracking">{{ts('Track Click Throughs')}}</label>
+      </td>
+    </tr>
+    <tr>
+      <td>
+        <div id="help">
+          {{ts('Track the number of times recipients click each link in this mailing. NOTE: When this feature is enabled, all links in the message body will be automatically re-written to route through your CiviCRM server prior to redirecting to the target page.')}}
+        </div>
+      </td>
+    </tr>
+    <tr>
+      <td>
+        <input name="open_tracking" type="checkbox" ng-model="mailing.open_tracking" ng-true-value="1" ng-false-value="0" />
+        <label crm-ui-label crm-for="open_tracking">{{ts('Track Opens')}}</label>
+      </td>
+    </tr>
+    <tr>
+      <td>
+        <div id="help">
+          {{ts('Track the number of times recipients open this mailing in their email software.')}}
+        </div>
+      </td>
+    </tr>
+  </tbody>
+</table>