</div>
<div ng-show="$.isEmptyObject(appMetas)" class="messages status no-popup">
- <div class="icon inform-icon"></div>
+ <i class="crm-i fa-info-circle"></i>
{{ts('No available applications')}}
</div>
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 '<img src="' + CRM.config.resourceBase + 'i/' + icon + '" height="12" width="12" /> <span class="' + spanClass + '">' + item.text + '</span>';
+ return '<i class="crm-i '+icon+'"></i> <span class="' + spanClass + '">' + item.text + '</span>';
}
function validate() {
crmOn: '@',
crmTitle: '@'
},
- template: '<span ng-class="spanClasses"><span class="icon" ng-class="iconClasses"></span>{{evalTitle}} </span>',
+ template: '<span ng-class="spanClasses"><i class="crm-i" ng-class="iconClasses"></i> {{evalTitle}} </span>',
link: function(scope, element, attrs) {
function refresh() {
if (scope.$parent.$eval(attrs.crmOn)) {
</div>
<div ng-show="$.isEmptyObject(mailingABList)" class="messages status no-popup">
- <div class="icon inform-icon"></div>
+ <i class="crm-i fa-info-circle"></i>
{{ts('You have no A/B mailings')}}
</div>