Simplify case title and remove redundant phrase CRM-12453
authorColeman Watts <coleman@civicrm.org>
Thu, 30 May 2013 17:53:27 +0000 (10:53 -0700)
committerColeman Watts <coleman@civicrm.org>
Thu, 30 May 2013 17:53:27 +0000 (10:53 -0700)
CRM/Case/Form/CaseView.php

index 615f7dee2a8d6b8ed72399530a0dd8495a573509..bc1645e41be23e5b1b5dd78b2cd03d02749d7e7e 100644 (file)
@@ -163,8 +163,7 @@ class CRM_Case_Form_CaseView extends CRM_Core_Form {
     $displayName = CRM_Contact_BAO_Contact::displayName($this->_contactID);
     $this->assign('displayName', $displayName);
 
-    $title = $displayName . ' - ' . $caseType;
-    CRM_Utils_System::setTitle(ts('Case Summary for') .  ' ' . $title);
+    CRM_Utils_System::setTitle($displayName . ' - ' . $caseType);
 
     $recentOther = array();
     if (CRM_Core_Permission::checkActionPermission('CiviCase', CRM_Core_Action::DELETE)) {
@@ -173,7 +172,7 @@ class CRM_Case_Form_CaseView extends CRM_Core_Form {
       );
     }
 
-    // add the recently created case
+    // Add the recently viewed case
     CRM_Utils_Recent::add($displayName . ' - ' . $caseType,
       $url,
       $this->_caseID,