From a9e746754e76a22e3db3674a0c0004b4a7bb8e23 Mon Sep 17 00:00:00 2001 From: Andrew Hunt Date: Wed, 30 Sep 2015 15:00:09 -0400 Subject: [PATCH] CRM-16415 ang: more icons in angularland ---------------------------------------- * CRM-16415: Implement Font Awesome icon font https://issues.civicrm.org/jira/browse/CRM-16415 --- ang/crmCxn/ManageCtrl.html | 2 +- ang/crmMailing/Recipients.js | 4 ++-- ang/crmMailing/ReviewBool.js | 2 +- ang/crmMailingAB/ListCtrl.html | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ang/crmCxn/ManageCtrl.html b/ang/crmCxn/ManageCtrl.html index 8a402e239b..7437a4ab77 100644 --- a/ang/crmCxn/ManageCtrl.html +++ b/ang/crmCxn/ManageCtrl.html @@ -72,6 +72,6 @@
-
+ {{ts('No available applications')}}
diff --git a/ang/crmMailing/Recipients.js b/ang/crmMailing/Recipients.js index 44114b2de6..60cd1b88e2 100644 --- a/ang/crmMailing/Recipients.js +++ b/ang/crmMailing/Recipients.js @@ -98,12 +98,12 @@ return item.text; } var option = convertValueToObj(item.id); - var icon = (option.entity_type === 'civicrm_mailing') ? 'EnvelopeIn.gif' : 'group.png'; + var icon = (option.entity_type === 'civicrm_mailing') ? 'fa-envelope' : 'fa-users'; var spanClass = (option.mode == 'exclude') ? 'crmMailing-exclude' : 'crmMailing-include'; if (option.entity_type != 'civicrm_mailing' && isMandatory(option.entity_id)) { spanClass = 'crmMailing-mandatory'; } - return ' ' + item.text + ''; + return ' ' + item.text + ''; } function validate() { diff --git a/ang/crmMailing/ReviewBool.js b/ang/crmMailing/ReviewBool.js index 2a18a55408..98ec85c57f 100644 --- a/ang/crmMailing/ReviewBool.js +++ b/ang/crmMailing/ReviewBool.js @@ -5,7 +5,7 @@ crmOn: '@', crmTitle: '@' }, - template: '{{evalTitle}} ', + template: ' {{evalTitle}} ', link: function(scope, element, attrs) { function refresh() { if (scope.$parent.$eval(attrs.crmOn)) { diff --git a/ang/crmMailingAB/ListCtrl.html b/ang/crmMailingAB/ListCtrl.html index edfb5b9791..ec6f197404 100644 --- a/ang/crmMailingAB/ListCtrl.html +++ b/ang/crmMailingAB/ListCtrl.html @@ -52,7 +52,7 @@ Required vars: mailingABList
-
+ {{ts('You have no A/B mailings')}}
-- 2.25.1