From 41d0b8818fec46efd7c584cf1bb202eee82289c8 Mon Sep 17 00:00:00 2001
From: Andrew Hunt
Date: Tue, 13 Oct 2015 12:39:23 -0400
Subject: [PATCH] CRM-16415 Last icons to replace
----------------------------------------
* CRM-16415: Implement Font Awesome icon font
https://issues.civicrm.org/jira/browse/CRM-16415
---
css/civicrm.css | 4 +++
.../Form/Setting/UpdateConfigBackend.tpl | 8 +++---
templates/CRM/Admin/Page/APIExplorer.js | 4 +--
.../Contact/Form/Search/Criteria/Basic.tpl | 2 +-
.../Event/Form/ManageEvent/Registration.tpl | 26 +++++++------------
5 files changed, 20 insertions(+), 24 deletions(-)
diff --git a/css/civicrm.css b/css/civicrm.css
index 975f437975..71e180efda 100644
--- a/css/civicrm.css
+++ b/css/civicrm.css
@@ -2237,6 +2237,10 @@ a.crm-i:hover {
text-decoration: none;
}
+.crm-container a:hover .crm-i.fa-trash,
+.crm-container .crm-button:hover .crm-i.fa-trash,
+.crm-container .crm-hover-button:hover .crm-i.fa-trash,
+.crm-container span:hover > .crm-i.fa-trash,
.crm-i.crm-i-red {
color: #8A1F11;
}
diff --git a/templates/CRM/Admin/Form/Setting/UpdateConfigBackend.tpl b/templates/CRM/Admin/Form/Setting/UpdateConfigBackend.tpl
index 25148c4164..3c6c3b4435 100644
--- a/templates/CRM/Admin/Form/Setting/UpdateConfigBackend.tpl
+++ b/templates/CRM/Admin/Form/Setting/UpdateConfigBackend.tpl
@@ -35,12 +35,12 @@
-
-
+
+
{$form._qf_UpdateConfigBackend_next_cleanup.html}
-
-
+
+
{$form._qf_UpdateConfigBackend_next_resetpaths.html}
diff --git a/templates/CRM/Admin/Page/APIExplorer.js b/templates/CRM/Admin/Page/APIExplorer.js
index 7571271877..ce0b65a130 100644
--- a/templates/CRM/Admin/Page/APIExplorer.js
+++ b/templates/CRM/Admin/Page/APIExplorer.js
@@ -95,10 +95,10 @@
var $row = $('tr:last-child', '#api-params');
$('.api-chain-entity', $row).crmSelect2({
formatSelection: function(item) {
- return ' API ' +
+ return ' API ' +
($(item.element).hasClass('strikethrough') ? '' + item.text + '' : item.text);
},
- placeholder: ' ' + ts('Entity'),
+ placeholder: ' ' + ts('Entity'),
escapeMarkup: function(m) {return m;}
});
}
diff --git a/templates/CRM/Contact/Form/Search/Criteria/Basic.tpl b/templates/CRM/Contact/Form/Search/Criteria/Basic.tpl
index 90795d2f1e..1c2b8bbd22 100644
--- a/templates/CRM/Contact/Form/Search/Criteria/Basic.tpl
+++ b/templates/CRM/Contact/Form/Search/Criteria/Basic.tpl
@@ -38,7 +38,7 @@
diff --git a/templates/CRM/Event/Form/ManageEvent/Registration.tpl b/templates/CRM/Event/Form/ManageEvent/Registration.tpl
index 3faaf0f827..1f64df4aef 100644
--- a/templates/CRM/Event/Form/ManageEvent/Registration.tpl
+++ b/templates/CRM/Event/Form/ManageEvent/Registration.tpl
@@ -28,11 +28,8 @@
width="20%">{if $addProfileBottomAdd }{$form.additional_custom_post_id_multiple[$profileBottomNumAdd].label}
{else}{$form.custom_post_id_multiple[$profileBottomNum].label}{/if}
{if $addProfileBottomAdd }{$form.additional_custom_post_id_multiple[$profileBottomNumAdd].html}{else}{$form.custom_post_id_multiple[$profileBottomNum].html}{/if}
- {ts}remove profile{/ts} {ts}add another profile (bottom of page){/ts}
+ {ts}remove profile{/ts}
+ {ts}add another profile (bottom of page){/ts}
{if $addProfileBottomAdd }
{ts}Change this if you want to use a different profile for additional participants.{/ts}
@@ -146,11 +143,8 @@
|
{$form.custom_post_id.label} |
{$form.custom_post_id.html}
- {ts}Include additional fields on this registration form by selecting and configuring a CiviCRM Profile to be included at the bottom of the page.{/ts}
- {ts}add another profile (bottom of page){/ts}
+ {ts}Include additional fields on this registration form by selecting and configuring a CiviCRM Profile to be included at the bottom of the page.{/ts}
+ {ts}add another profile (bottom of page){/ts}
|
@@ -164,13 +158,13 @@ class="crm-hover-button crm-button-add-profile">
- {ts}remove profile{/ts}
+ {ts}remove profile{/ts}
-
+
{ts}add another profile (bottom of page){/ts}
@@ -195,9 +189,7 @@ class="crm-hover-button crm-button-add-profile">{ts}Change this if you want to use a different profile for additional participants.{/ts}
- {ts}add another profile (bottom of page){/ts}
+ {ts}add another profile (bottom of page){/ts}
@@ -211,12 +203,12 @@ class="crm-hover-button crm-button-add-profile">
- {ts}remove profile{/ts}
+ {ts}remove profile{/ts}
-
+
{ts}add another profile (bottom of page){/ts}
--
2.25.1