{* +--------------------------------------------------------------------+ | CiviCRM version 4.6 | +--------------------------------------------------------------------+ | Copyright CiviCRM LLC (c) 2004-2015 | +--------------------------------------------------------------------+ | This file is a part of CiviCRM. | | | | CiviCRM is free software; you can copy, modify, and distribute it | | under the terms of the GNU Affero General Public License | | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. | | | | CiviCRM is distributed in the hope that it will be useful, but | | WITHOUT ANY WARRANTY; without even the implied warranty of | | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | | See the GNU Affero General Public License for more details. | | | | You should have received a copy of the GNU Affero General Public | | License and the CiviCRM Licensing Exception along | | with this program; if not, contact CiviCRM LLC | | at info[AT]civicrm[DOT]org. If you have questions about the | | GNU Affero General Public License or the licensing of CiviCRM, | | see the CiviCRM license FAQ at http://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"}