From: Tim Otten Date: Thu, 19 Feb 2015 22:43:45 +0000 (-0800) Subject: crmMailingAB - report.html - Display placeholder column for the final mailing X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=c65ef09ed69bcdcbac513200de6087b67f6a0de0;p=civicrm-core.git crmMailingAB - report.html - Display placeholder column for the final mailing This provides some continuity between the appearance during testing and after testing. It also emphasizes that there's a gap -- that the user has not yet made a choice. --- diff --git a/js/angular-crmMailingAB.js b/js/angular-crmMailingAB.js index 0dd847c310..cf48eb372f 100644 --- a/js/angular-crmMailingAB.js +++ b/js/angular-crmMailingAB.js @@ -74,7 +74,7 @@ $scope.sync = function sync() { abtest.mailings.a.name = ts('Test A (%1)', {1: abtest.ab.name}); abtest.mailings.b.name = ts('Test B (%1)', {1: abtest.ab.name}); - abtest.mailings.c.name = ts('Winner (%1)', {1: abtest.ab.name}); + abtest.mailings.c.name = ts('Final (%1)', {1: abtest.ab.name}); if (abtest.ab.testing_criteria) { // TODO review fields exposed in UI and make sure the sync rules match @@ -164,7 +164,7 @@ }; var options = CRM.utils.adjustDialogDefaults({ autoOpen: false, - title: ts('Select Winner (%1)', { + title: ts('Select Final Mailing (Test %1)', { 1: mailingName.toUpperCase() }) }); @@ -240,7 +240,7 @@ // need to be registered with the dialog widget (and not embedded in // the body of the dialog). var buttons = {}; - buttons[ts('Select Winner')] = function () { + buttons[ts('Submit final mailing')] = function () { crmMailingMgr.mergeInto(abtest.mailings.c, abtest.mailings[mailingName], [ 'name', 'recipients', diff --git a/partials/crmMailingAB/report.html b/partials/crmMailingAB/report.html index 1c50ac7199..3e50eaf94e 100644 --- a/partials/crmMailingAB/report.html +++ b/partials/crmMailingAB/report.html @@ -7,8 +7,9 @@ - + + @@ -16,6 +17,7 @@ {{ts('Delivery')}} {{am.title}} + {{ts('Final')}} @@ -25,24 +27,28 @@ {{job.status}} + {{ts('Not selected')}} {{ts('Scheduled')}}
{{job.scheduled_date}}
+ {{ts('Started at')}}
{{job.start_date || ts('Not started')}}
+ {{ts('Completed at')}}
{{job.end_date || ts('Not completed')}}
+ @@ -50,6 +56,7 @@ {{ts('Performance')}} {{am.title}} + {{ts('Final')}} @@ -69,6 +76,7 @@ title="{{ts('Browse events of type \'%1\'', {1: statType.title})}}" >{{stats[am.name][statType.name] || ts('n/a')}} + @@ -76,6 +84,7 @@ {{ts('Details')}} {{am.title}} + {{ts('Final')}} @@ -85,18 +94,21 @@ {{am.mailing.name}} + {{ts('From')}} "{{am.mailing.from_name}}" <{{am.mailing.from_email}}> + {{ts('Subject')}} {{am.mailing.subject}} + {{ts('Recipients')}} @@ -108,6 +120,7 @@ {{ts('Exclude:')}} {{getExcludesAsString(am.mailing)}} + {{ts('Content')}} @@ -115,12 +128,14 @@ {{ts('HTML')}} {{ts('Text')}} + {{ts('Attachments')}}
{{file.name}}
+ {{ts('Tracking')}} @@ -128,6 +143,7 @@
+ {{ts('Responding')}} @@ -141,12 +157,14 @@
{{ts('Unsubscribe')}}
+ {{ts('Publication')}} {{am.mailing.visibility}} +