--CRM-15989, replaced font tag with span tag and add css
authorPradeep Nayak <pradpnayak@gmail.com>
Mon, 2 Mar 2015 21:32:12 +0000 (03:02 +0530)
committerPradeep Nayak <pradpnayak@gmail.com>
Mon, 2 Mar 2015 21:32:12 +0000 (03:02 +0530)
CRM/Contact/Form/Contact.php
CRM/Contact/Page/View.php
css/civicrm.css

index 7c6434a940f792669c416a81b7d534a3beee533e..d7c4aacab9e3ccd2a39e098cc61db61f97aee71b 100644 (file)
@@ -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 .= '  <font color=red>(deceased)</font>';
+          $displayName .= '  <span class="crm-contact-deceased">(deceased)</span>';
         }
         $displayName = ts('Edit %1', array(1 => $displayName));
 
index f252c334461be5fcfe5b80a01c6ef78c29ae73cb..8dbdf34eded4d37dd91102fa5938f49ef78522ff 100644 (file)
@@ -333,7 +333,7 @@ class CRM_Contact_Page_View extends CRM_Core_Page {
     // set page title
     $title = "{$contactImage} {$displayName}";
     if ($contactDetails[$contactId]['isDeceased']) {
-      $title .= '  <font color=red>(deceased)</font>';
+      $title .= '  <span class="crm-contact-deceased">(deceased)</span>';
     }
     if ($isDeleted) {
       $title = "<del>{$title}</del>";
index 1840e31508aab6c0ba28f1461acfe3b064ad837e..7b0c581dd790dad273549fe9c6ca2b9294358974 100644 (file)
@@ -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;
 }