background-image: url("../i/icons/jquery-ui-8A1F11.png");
}
+.crm-container .fa.icon-red {
+ color: #8A1F11;
+}
+
.crm-container .inform-icon {
background-position: -16px -144px;
margin-right: 5px;
<tr class="crm-admin-options-form-block-value">
<td class="label">{$form.value.label}</td>
<td>{$form.value.html}<br />
- <span class="description"><div class="icon ui-icon-alert"></div>{ts}Changing the Value field will unlink records which have been marked with this option. This change can not be undone except by restoring the previous value.{/ts}</span>
+ <span class="description"><i class="fa fa-exclamation-triangle"></i> {ts}Changing the Value field will unlink records which have been marked with this option. This change can not be undone except by restoring the previous value.{/ts}</span>
</td>
</tr>
{/if}
.addClass('crm-error')
.css('width', '82%')
.attr('title', msg)
- .before('<div class="icon red-icon ui-icon-alert" title="'+msg+'"/>')
+ .before('<i class="fa fa-exclamation-triangle icon-red" title="'+msg+'"></i> ')
.tooltip();
}
}
.attr('title', '')
.css('width', '85%')
.tooltip('destroy')
- .siblings('.ui-icon-alert').remove();
+ .siblings('.fa-exclamation-triangle').remove();
}
/**
}
checkBookKeepingEntity(entity, action);
}
-
+
/**
* Check if entity is Financial Trxn and Entity Financial Trxn
* and Action is Create, delete, update etc then display warning
*/
- function checkBookKeepingEntity(entity, action) {
+ function checkBookKeepingEntity(entity, action) {
if ($.inArray(entity, ['EntityFinancialTrxn', 'FinancialTrxn']) > -1 && $.inArray(action, ['delete', 'setvalue', 'replace', 'create']) > -1) {
var msg = ts('Given the importance of auditability, extension developers are strongly discouraged from writing code to add, update or delete entries in the civicrm_financial_item, civicrm_entity_financial_trxn, and civicrm_financial_trxn tables. Before publishing an extension on civicrm.org that does any of this, please ask for a special bookkeeping code review for the extension.');
CRM.alert(msg, 'warning');
{else}
<div id="help">
{ts}CiviCRM stores configurable choices for various drop-down fields as 'option groups'. You can click <strong>Options</strong> to view the available choices.{/ts}
- <p><div class="icon ui-icon-alert"></div> {ts}WARNING: Many option groups are used programatically and values should be added or modified with caution.{/ts}</p>
+ <p><i class="fa fa-exclamation-triangle"></i> {ts}WARNING: Many option groups are used programatically and values should be added or modified with caution.{/ts}</p>
</div>
{/if}
</div>
{if $batchAmountMismatch}
<div class="status message status-warning">
- <div
- class="icon ui-icon-alert"></div> {ts}Total for amounts entered below does not match the expected batch total.{/ts}
+ <i class="fa fa-exclamation-triangle"></i> {ts}Total for amounts entered below does not match the expected batch total.{/ts}
</div>
<div class="crm-button crm-button_qf_Entry_upload_force-save">
{$form._qf_Entry_upload_force.html}
$('.selector-rows').change(function () {
var options = {
'url': {/literal}"{crmURL p='civicrm/ajax/batch' h=0}"{literal}
- };
+ };
$($form).ajaxSubmit(options);
});
-
+
$('input[id*="primary_contact_"]').change(function() {
var temp = this.id.split('_');
var ROWID = temp[3];
function setPledgeAmount(form, pledgeID) {
var rowID = form.closest('div.crm-grid-row').attr('entity_id');
var dataUrl = CRM.url('civicrm/ajax/pledgeAmount');
- if (pledgeID) {
+ if (pledgeID) {
cj.post(dataUrl, {pid: pledgeID}, function (data) {
cj('#field_' + rowID + '_financial_type').val(data.financial_type_id).change();
cj('#field_' + rowID + '_total_amount').val(data.amount).change();
}
else {
cj('#field_' + rowID + '_total_amount').val('').change();
- cj('#field_' + rowID + '_financial_type').val('').change();
+ cj('#field_' + rowID + '_financial_type').val('').change();
cj('#field_' + rowID + '_total_amount').removeAttr('readonly');
}
}
if (interview.errors[error]) errorList = errorList + '<li>' + interview.errors[error] + '</li>';
}
if ( errorList ) {
- var allErrors = '<div class = "icon red-icon ui-icon-alert"></div>Please correct the following errors in the survey fields below:' + '<ul>' + errorList + '</ul>';
+ var allErrors = '<i class="fa fa-exclamation-triangle icon-red"></i> ' + ts('Please correct the following errors in the survey fields below:') + '<ul>' + errorList + '</ul>';
CRM.$('#responseErrors').show( ).html(allErrors);
}
}
{*include batch copy js js file*}
{include file="CRM/common/batchCopy.tpl"}
{/if}
-
*}
{if !empty($participantData)}
<div class="messages status no-popup">
- <div class="icon ui-icon-alert"></div>
+ <i class="fa fa-exclamation-triangle"></i>
{ts}There are participants registered for repeating events being removed from the set. Those with participants will be converted to standalone events, and those without registration will be deleted.{/ts}
</div>
<table class="display">
{$form.group_id.html}
<span><a href="#" onclick="toggleContactRefFilter('Advance'); return false;">{ts}Advanced Filter{/ts}</a></span>
{capture assign=searchPreferences}{crmURL p="civicrm/admin/setting/search" q="reset=1"}{/capture}
- <div class="messages status no-popup"><div class="icon ui-icon-alert"></div> {ts 1=$searchPreferences}If you are planning on using this field in front-end profile, event registration or contribution forms, you should 'Limit List to Group' or configure an 'Advanced Filter' (so that you do not unintentionally expose your entire set of contacts). Users must have either 'access contact reference fields' OR 'access CiviCRM' permission in order to use contact reference autocomplete fields. You can assign 'access contact reference fields' to the anonymous role if you want un-authenticated visitors to use this field. Use <a href='%1'>Search Preferences - Contact Reference Options</a> to control the fields included in the search results.{/ts}
+ <div class="messages status no-popup"><i class="fa fa-exclamation-triangle"></i> {ts 1=$searchPreferences}If you are planning on using this field in front-end profile, event registration or contribution forms, you should 'Limit List to Group' or configure an 'Advanced Filter' (so that you do not unintentionally expose your entire set of contacts). Users must have either 'access contact reference fields' OR 'access CiviCRM' permission in order to use contact reference autocomplete fields. You can assign 'access contact reference fields' to the anonymous role if you want un-authenticated visitors to use this field. Use <a href='%1'>Search Preferences - Contact Reference Options</a> to control the fields included in the search results.{/ts}
</td>
</tr>
<tr id='field_advance_filter'>
}
if ( showError ) {
- cj('#validate_pricefield').show().html("<span class='icon red-icon ui-icon-alert'></span>{/literal}{ts escape='js'}This Option is already full for this event.{/ts}{literal}");
+ cj('#validate_pricefield').show().html("<i class="fa fa-exclamation-triangle icon-red"></i>{/literal} {ts escape='js'}This Option is already full for this event.{/ts}{literal}");
}
else {
cj('#validate_pricefield').hide( ).html('');
</script>
{/if} {* end of main event block*}
-
{if ($snippet !== 'json') and !$suppressForm and count($form.errors) gt 0}
<div class="messages crm-error">
- <div class="icon red-icon ui-icon-alert"></div>
+ <i class="fa fa-exclamation-triangle icon-red"></i>
{ts}Please correct the following errors in the form fields below:{/ts}
<ul id="errorList">
{foreach from=$form.errors key=errorName item=error}
{/foreach}
</table>
{/if}
-
<base href="{$config->resourceBase}" />
<style type="text/css" media="screen">
@import url({$config->resourceBase}css/civicrm.css);
- @import url({$config->resourceBase}bower_components/jquery-ui/themes/smoothness/jquery-ui.min.css);
+ @import url({$config->resourceBase}bower_components/font-awesome/css/font-awesome.min.css);
</style>
</head>
<body>
<div id="crm-container" class="crm-container" lang="{$config->lcMessages|truncate:2:"":true}" xml:lang="{$config->lcMessages|truncate:2:"":true}">
<style type="text/css" media="screen">
@import url({$config->resourceBase}css/civicrm.css);
- @import url({$config->resourceBase}bower_components/jquery-ui/themes/smoothness/jquery-ui.min.css);
+ @import url({$config->resourceBase}bower_components/font-awesome/css/font-awesome.min.css);
</style>
{/if}
-<div class="messages status no-popup"> <div class="icon red-icon ui-icon-alert"></div>
+<div class="messages status no-popup"> <i class="fa fa-exclamation-triangle icon-red"></i>
<span class="status-fatal">{ts}Sorry but we are not able to provide this at the moment.{/ts}</span>
<div class="crm-section crm-error-message">{$message}</div>
{if $error.message && $message != $error.message}