Merge pull request #10197 from GinkgoFJG/CRM-20458
[civicrm-core.git] / ang / crmMailingAB / ListCtrl.html
index edfb5b97910f2253c1f0933385b155508d545eed..5d2c0768d2c5b9d52c66add20de4ffd1292ebaa5 100644 (file)
@@ -25,7 +25,7 @@ Required vars: mailingABList
   </form>
 </div>
 
-<div ng-show="!$.isEmptyObject(mailingABList)">
+<div ng-show="mailingABList.length">
   <table class="display">
     <thead>
     <tr>
@@ -51,8 +51,8 @@ Required vars: mailingABList
   </table>
 </div>
 
-<div ng-show="$.isEmptyObject(mailingABList)" class="messages status no-popup">
-  <div class="icon inform-icon"></div>
+<div ng-show="mailingABList.length === 0" class="messages status no-popup">
+  <i class="crm-i fa-info-circle"></i>
   {{ts('You have no A/B mailings')}}
 </div>