crmMailingAB - report.html - Display job info
authorTim Otten <totten@civicrm.org>
Thu, 19 Feb 2015 22:29:29 +0000 (14:29 -0800)
committerTim Otten <totten@civicrm.org>
Thu, 19 Feb 2015 23:04:08 +0000 (15:04 -0800)
partials/crmMailingAB/report.html

index 5cde438664c32e0a72187ecd3587a404ff6d03db..b7c270379f53e6592363fb0dd56171c4b35eb9d4 100644 (file)
 
     <thead>
     <tr>
-      <th>{{ts('Delivery Summary')}}</th>
+      <th>{{ts('Delivery')}}</th>
+      <th ng-repeat="am in getActiveMailings()" class="crm-mailing-ab-col">{{am.title}}</th>
+    </tr>
+    </thead>
+
+    <tbody>
+    <tr>
+      <td>{{ts('Status')}}</td>
+      <td ng-repeat="am in getActiveMailings()">
+        <span ng-repeat="job in am.mailing.jobs" ng-hide="job.is_test == 1 || job.parent_id != null">{{job.status}}</span>
+      </td>
+    </tr>
+    <tr>
+      <td>{{ts('Scheduled')}}</td>
+      <td ng-repeat="am in getActiveMailings()">
+        <div ng-repeat="job in am.mailing.jobs" ng-hide="job.is_test == 1 || job.parent_id != null">{{job.scheduled_date}}</div>
+      </td>
+    </tr>
+    <tr>
+      <td>{{ts('Started at')}}</td>
+      <td ng-repeat="am in getActiveMailings()">
+        <div ng-repeat="job in am.mailing.jobs" ng-hide="job.is_test == 1 || job.parent_id != null">{{job.start_date || ts('Not started')}}</div>
+      </td>
+    </tr>
+    <tr>
+      <td>{{ts('Completed at')}}</td>
+      <td ng-repeat="am in getActiveMailings()">
+        <div ng-repeat="job in am.mailing.jobs" ng-hide="job.is_test == 1 || job.parent_id != null">{{job.end_date || ts('Not completed')}}</div>
+      </td>
+    </tr>
+    </tbody>
+
+    <thead>
+    <tr>
+      <th>{{ts('Performance')}}</th>
       <th ng-repeat="am in getActiveMailings()" class="crm-mailing-ab-col">{{am.title}}</th>
     </tr>
     </thead>