X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FPledge%2FForm%2FPledgeView.php;h=92b45e90579d12832d1bc10943e90e5a5c0c4fd7;hb=16b10e64496e4854eb267a21aa33e961bec6ecba;hp=1f5c78f30e4cccdf13db363d73d16547b99a4665;hpb=61101c0139a33917f1220f3e970b7c1293f34449;p=civicrm-core.git diff --git a/CRM/Pledge/Form/PledgeView.php b/CRM/Pledge/Form/PledgeView.php index 1f5c78f30e..92b45e9057 100644 --- a/CRM/Pledge/Form/PledgeView.php +++ b/CRM/Pledge/Form/PledgeView.php @@ -1,7 +1,7 @@ assign('displayName', $displayName); $title = $displayName . - ' - (' . ts('Pledged') . ' ' . CRM_Utils_Money::format( $values['pledge_amount'] ) . + ' - (' . ts('Pledged') . ' ' . CRM_Utils_Money::format($values['pledge_amount']) . ' - ' . $values['financial_type'] . ')'; // add Pledge to Recent Items @@ -120,7 +119,7 @@ class CRM_Pledge_Form_PledgeView extends CRM_Core_Form { $displayName .= ' (' . ts('default organization') . ')'; } // omitting contactImage from title for now since the summary overlay css doesn't work outside of our crm-container - CRM_Utils_System::setTitle(ts('View Pledge by') . ' ' . $displayName); + CRM_Utils_System::setTitle(ts('View Pledge by') . ' ' . $displayName); //do check for campaigns if ($campaignId = CRM_Utils_Array::value('campaign_id', $values)) { @@ -132,10 +131,9 @@ class CRM_Pledge_Form_PledgeView extends CRM_Core_Form { } /** - * Function to build the form + * Build the form object * * @return void - * @access public */ public function buildQuickForm() { $this->addButtons(array( @@ -149,4 +147,3 @@ class CRM_Pledge_Form_PledgeView extends CRM_Core_Form { ); } } -