CRM-15578 - Add button styling and help message to AB Test Results. Add title for...
authorDave Greenberg <dave@civicrm.org>
Tue, 24 Feb 2015 02:14:47 +0000 (18:14 -0800)
committerDave Greenberg <dave@civicrm.org>
Tue, 24 Feb 2015 02:14:47 +0000 (18:14 -0800)
----------------------------------------
* CRM-15578: Implement "New Mailing" + "AB Testing" in Angular
  https://issues.civicrm.org/jira/browse/CRM-15578

partials/crmMailing/recipients.html
partials/crmMailingAB/report.html

index 80e7a4ae9d6fafbe49f1fb199ee96dae307272f4..920a9fb4ffd4675a8ebebe71ce1a6af1d719a08c 100644 (file)
@@ -1,7 +1,7 @@
 <div ng-controller="EditRecipCtrl">
   <div style="float: right;">
     <div class='crmMailing-recip-est'>
-      <a href="" ng-click="previewRecipients()">{{getRecipientsEstimate()}}</a>
+      <a href="" ng-click="previewRecipients()" title="{{ts('Preview a List of Recipients')}}">{{getRecipientsEstimate()}}</a>
     </div>
   </div>
   <select
@@ -15,5 +15,5 @@
     ng-required="true"
     multiple>
   </select>
-  <a crm-icon="wrench" ng-click="editOptions(mailing)" class="crm-hover-button" title="{{ts('Edit Options')}}"></a>
+  <a crm-icon="wrench" ng-click="editOptions(mailing)" class="crm-hover-button" title="{{ts('Edit Recipient Options')}}"></a>
 </div>
index d9fa5b0b0972ec37d2e1e32cb2e5f31f828c8abb..a86464510da0b5da89faff84a95fb2b087b2e247 100644 (file)
@@ -1,13 +1,17 @@
 <!--
   Implicit Controller: CrmMailingABEditCtrl
 -->
+<div class="messages help">
+  <div class="msg-title crm-title">{{ts('A/B Test Results')}}: {{abtest.ab.name}}</div>
+  {{ts('This report displays the current results for your A/B test. You can return to this page to view the latest statistics by clicking "Results" from the "Manage A/B Tests" listing.')}}
+</div>
 <div ng-controller="CrmMailingABReportCtrl">
   <table class="crm-mailing-ab-table">
     <thead>
     <tr ng-show="abtest.ab.status == 'Testing'">
       <td></td>
       <td ng-repeat="am in getActiveMailings()">
-        <button ng-click="selectWinner(am.name)">{{ts('Select as Final')}}</button>
+        <button crm-icon="mail-closed" ng-click="selectWinner(am.name)">{{ts('Select as Final')}}</button>
       </td>
       <td></td>
     </tr>