</td>
</tr>
- {if $form.separation }
+ {if $form.separation}
<tr class="crm-activity-form-block-separation crm-is-multi-activity-wrapper">
<td class="label">{$form.separation.label}</td>
<td>{$form.separation.html} {help id="separation"}</td>
</tr>
<tr class="crm-activity-form-block-details">
<td class="label">{$form.details.label}</td>
+ {* activityTypeName means label here not name, but it should be name (dev/core#1116-fixme) *}
{if $activityTypeName eq "Print PDF Letter"}
<td class="view-value">
{$form.details.html}
</td>
+ {* activityTypeName means label here not name, but it should be name (dev/core#1116-fixme) *}
{elseif $activityTypeName eq "Inbound Email"}
<td class="view-value">
{$form.details.html|crmStripAlternatives|nl2br}
<tr class="crm-activity-form-block-custom_data">
<td colspan="2">
{if $action eq 4}
- {include file="CRM/Custom/Page/CustomDataView.tpl"}
- {else}
+ {include file="CRM/Custom/Page/CustomDataView.tpl"}
+ {else}
<div id="customData"></div>
+ {include file="CRM/common/customDataBlock.tpl"}
{/if}
</td>
</tr>
});
</script>
{/literal}
-
- {include file="CRM/common/customDataBlock.tpl"}
{/if}
</div>{* end of form block*}