From da2786f788a38e1045cf77a0cd7d41a204610539 Mon Sep 17 00:00:00 2001 From: Pradeep Nayak Date: Tue, 3 Mar 2015 03:02:12 +0530 Subject: [PATCH] --CRM-15989, replaced font tag with span tag and add css --- CRM/Contact/Form/Contact.php | 2 +- CRM/Contact/Page/View.php | 2 +- css/civicrm.css | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CRM/Contact/Form/Contact.php b/CRM/Contact/Form/Contact.php index 7c6434a940..d7c4aacab9 100644 --- a/CRM/Contact/Form/Contact.php +++ b/CRM/Contact/Form/Contact.php @@ -214,7 +214,7 @@ class CRM_Contact_Form_Contact extends CRM_Core_Form { $displayName = CRM_Contact_BAO_Contact::displayName($this->_contactId); if ($defaults['is_deceased']) { - $displayName .= ' (deceased)'; + $displayName .= ' (deceased)'; } $displayName = ts('Edit %1', array(1 => $displayName)); diff --git a/CRM/Contact/Page/View.php b/CRM/Contact/Page/View.php index f252c33446..8dbdf34ede 100644 --- a/CRM/Contact/Page/View.php +++ b/CRM/Contact/Page/View.php @@ -333,7 +333,7 @@ class CRM_Contact_Page_View extends CRM_Core_Page { // set page title $title = "{$contactImage} {$displayName}"; if ($contactDetails[$contactId]['isDeceased']) { - $title .= ' (deceased)'; + $title .= ' (deceased)'; } if ($isDeleted) { $title = "{$title}"; diff --git a/css/civicrm.css b/css/civicrm.css index 1840e31508..7b0c581dd7 100644 --- a/css/civicrm.css +++ b/css/civicrm.css @@ -3000,6 +3000,7 @@ tbody.scrollContent tr.alternateRow { .crm-container .status-fatal, .crm-container .status-hold, .crm-container .status-past, +.crm-contact-deceased, .crm-container .status-warning { color: #E43D2B !important; } -- 2.25.1