projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ab5c4c
)
dev/core#379 Activity View: only nl2br Inbound Email.
author
Mathieu Lutfy
<mathieu@bidon.ca>
Wed, 5 Sep 2018 15:01:09 +0000
(11:01 -0400)
committer
Mathieu Lutfy
<mathieu@bidon.ca>
Wed, 5 Sep 2018 15:01:09 +0000
(11:01 -0400)
templates/CRM/Activity/Form/Activity.tpl
patch
|
blob
|
blame
|
history
diff --git
a/templates/CRM/Activity/Form/Activity.tpl
b/templates/CRM/Activity/Form/Activity.tpl
index 689bdf5db2cae7f3b86dca45fc50bcccd216a6a7..766e17cf1b3f2e76d989d4737a2ca6d8219d15af 100644
(file)
--- a/
templates/CRM/Activity/Form/Activity.tpl
+++ b/
templates/CRM/Activity/Form/Activity.tpl
@@
-156,10
+156,14
@@
<td class="view-value">
{$form.details.html}
</td>
-
{else
}
+
{elseif $activityTypeName eq "Inbound Email"
}
<td class="view-value">
{$form.details.html|crmStripAlternatives|nl2br}
</td>
+ {else}
+ <td class="view-value">
+ {$form.details.html|crmStripAlternatives}
+ </td>
{/if}
</tr>
<tr class="crm-activity-form-block-priority_id">