Line breaks in memo fields are not displayed fix
authorjitendrapurohit <jitendra.purohit@webaccessglobal.com>
Mon, 6 Apr 2015 09:22:37 +0000 (14:52 +0530)
committerjitendrapurohit <jitendra.purohit@webaccessglobal.com>
Mon, 6 Apr 2015 09:22:37 +0000 (14:52 +0530)
templates/CRM/Contact/Page/View/CustomDataFieldView.tpl

index aaf64eba18525067d48eb415f46bb1a5981791fa..4ba1086bcd78aec316fa3e10cf87cdc935ac8410 100644 (file)
@@ -61,6 +61,8 @@
             <div class="crm-content crm-custom-data crm-contact-reference">
               <a href="{crmURL p='civicrm/contact/view' q="reset=1&cid=`$element.contact_ref_id`"}" title="view contact">{$element.field_value}</a>
             </div>
+          {elseif $element.field_data_type EQ 'Memo'}
+            <div class="crm-content crm-custom-data">{$element.field_value|nl2br}</div>
           {else}
             <div class="crm-content crm-custom-data">{$element.field_value}</div>
           {/if}