From b9926828a24655e0f5b7f35c42482eb91e8f9559 Mon Sep 17 00:00:00 2001 From: Vitor Date: Tue, 30 Sep 2014 12:21:44 +0100 Subject: [PATCH] abtesting/list.html - Added a new column that shows the AB mailing type --- js/angular-crmMailingAB.js | 5 +++++ partials/abtesting/list.html | 12 +++++++----- 2 files changed, 12 insertions(+), 5 deletions(-) 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 -- 2.25.1