{* +--------------------------------------------------------------------+ | Copyright CiviCRM LLC. All rights reserved. | | | | This work is published under the GNU AGPLv3 license with some | | permitted exceptions and without any warranty. For full license | | and copyright information, see https://civicrm.org/licensing | +--------------------------------------------------------------------+ *}
{if $activityTypeDescription}
{$activityTypeDescription}
{/if} {if $values.target_contact_value} {/if} {if $values.mailingId} {/if} {if $values.campaign} {/if} {if $values.engagement_level AND call_user_func( array( 'CRM_Campaign_BAO_Campaign', 'isCampaignEnable' ) )} {/if} {if $values.mailingId} {else} {/if} {if $values.attachment} {/if}
{ts}Added by{/ts}{$values.source_contact}
{ts}With Contact{/ts}{$values.target_contact_value}
{ts}With Contact{/ts}»{ts}Mailing Report{/ts}
{ts}Subject{/ts}{$values.subject}
{ts}Campaign{/ts}{$values.campaign}
{ts}Engagement Level{/ts}{$values.engagement_level}
{ts}Date and Time{/ts}{$values.activity_date_time|crmDate }
# of opens {$openreport|@count} {if $openreport|@count > 0 and $openreport|@count < 50}
Open times: {foreach from=$openreport item=opens} {$opens.date}
{/foreach} {/if}
# of click-throughs {$clickreport|@count} {if $clickreport|@count > 0 and $clickreport|@count < 50}
Click times: {foreach from=$clickreport item=clicks} {$clicks.date}: {$clicks.url|truncate:40:' .... ':true:true}
{/foreach} {/if}
{ts}Details{/ts}
{ts}Content / Components{/ts} {strip} {if $mailingReport.mailing.body_text} {/if} {if $mailingReport.mailing.body_html} {/if} {if $mailingReport.mailing.attachment} {/if}
{ts}Text Message{/ts} {$mailingReport.mailing.body_text|mb_truncate:30|escape|nl2br}
{if $values.mailingId} » {ts}View complete message{/ts} {/if}
{ts}HTML Message{/ts} {$mailingReport.mailing.body_html|mb_truncate:30|escape|nl2br}
{if $values.mailingId} » {ts}View complete message{/ts} {/if}
{ts}Attachments{/ts} {$mailingReport.mailing.attachment}
{/strip}
{ts}Details{/ts}{$values.details|crmStripAlternatives|nl2br}
{ts}Attachment(s){/ts}{$values.attachment}
{include file="CRM/common/formButtons.tpl" location="bottom"}