From: Vitor Date: Tue, 30 Sep 2014 11:21:44 +0000 (+0100) Subject: abtesting/list.html - Added a new column that shows the AB mailing type X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=b9926828a24655e0f5b7f35c42482eb91e8f9559;p=civicrm-core.git abtesting/list.html - Added a new column that shows the AB mailing type --- diff --git a/js/angular-crmMailingAB.js b/js/angular-crmMailingAB.js index 93c57a8d5b..476625731c 100755 --- a/js/angular-crmMailingAB.js +++ b/js/angular-crmMailingAB.js @@ -61,6 +61,11 @@ // Ex: crmMailingAB.controller('ABListingCtrl', function ($scope, crmApi,mailingABList) { $scope.mailingABList = mailingABList.values; + $scope.testing_criteria = { + '1': "Subject lines", + '2': "From names", + '3': "Two different emails" + }; }); crmMailingAB.controller('ReportCtrl', function ($scope, crmApi, selectedABTest,$location) { diff --git a/partials/abtesting/list.html b/partials/abtesting/list.html index 2bbf187342..6afd2ae78e 100755 --- a/partials/abtesting/list.html +++ b/partials/abtesting/list.html @@ -12,17 +12,19 @@ Required vars: mailingABList Title Id + Test Type - - {{ab.name}} - {{ab.id}} - Edit  - Results + + {{mailingAB.name}} + {{mailingAB.id}} + {{testing_criteria[mailingAB.testing_criteria_id]}} + Edit  + Results