2 +--------------------------------------------------------------------+
3 | CiviCRM version 4.7 |
4 +--------------------------------------------------------------------+
5 | Copyright CiviCRM LLC (c) 2004-2015 |
6 +--------------------------------------------------------------------+
7 | This file is a part of CiviCRM. |
9 | CiviCRM is free software; you can copy, modify, and distribute it |
10 | under the terms of the GNU Affero General Public License |
11 | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. |
13 | CiviCRM is distributed in the hope that it will be useful, but |
14 | WITHOUT ANY WARRANTY; without even the implied warranty of |
15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
16 | See the GNU Affero General Public License for more details. |
18 | You should have received a copy of the GNU Affero General Public |
19 | License and the CiviCRM Licensing Exception along |
20 | with this program; if not, contact CiviCRM LLC |
21 | at info[AT]civicrm[DOT]org. If you have questions about the |
22 | GNU Affero General Public License or the licensing of CiviCRM, |
23 | see the CiviCRM license FAQ at http://civicrm.org/licensing |
24 +--------------------------------------------------------------------+
26 <div class="crm-block crm-content-block crm-activity-view-block">
27 {if $activityTypeDescription}
28 <div id="help">{$activityTypeDescription}</div>
30 <table class="crm-info-panel">
32 <td class="label">{ts}Added By{/ts}</td><td class="view-value">{$values.source_contact}</td>
34 {if $values.target_contact_value}
36 <td class="label">{ts}With Contact{/ts}</td><td class="view-value">{$values.target_contact_value}</td>
39 {if $values.mailingId}
41 <td class="label">{ts}With Contact{/ts}</td><td class="view-value"><a href="{$values.mailingId}" title="{ts}View Mailing Report{/ts}">»{ts}Mailing Report{/ts}</a></td>
45 <td class="label">{ts}Subject{/ts}</td><td class="view-value">{$values.subject}</td>
50 <td class="label">{ts}Campaign{/ts}</td><td class="view-value">{$values.campaign}</td>
54 {if $values.engagement_level AND
55 call_user_func( array( 'CRM_Campaign_BAO_Campaign', 'isCampaignEnable' ) )}
56 <td class="label">{ts}Engagement Level{/ts}</td><td class="view-value">{$values.engagement_level}</td>
60 <td class="label">{ts}Date and Time{/ts}</td><td class="view-value">{$values.activity_date_time|crmDate }</td>
62 {if $values.mailingId}
64 <td class="label nowrap">
68 <td class="view-value">{$openreport|@count}
69 {if $openreport|@count > 0 and $openreport|@count < 50}<br />Open times:
70 {foreach from=$openreport item=opens}
79 <td class="view-value"> {$clickreport|@count}
80 {if $clickreport|@count > 0 and $clickreport|@count < 50}<br />Click times:
81 {foreach from=$clickreport item=clicks}
82 {$clicks.date}: <a href ='{$clicks.url}'>{$clicks.url|truncate:40:' .... ':true:true}</a> <br />
89 <td class="label">{ts}Details{/ts}</td>
90 <td class="view-value report">
93 <legend>{ts}Content / Components{/ts}</legend>
95 <table class="form-layout-compressed">
96 {if $mailingReport.mailing.body_text}
98 <td class="label nowrap">{ts}Text Message{/ts}</td>
100 {$mailingReport.mailing.body_text|mb_truncate:30|escape|nl2br}
102 {if $values.mailingId}
103 <strong><a class="crm-popup" href='{$textViewURL}'>» {ts}View complete message{/ts}</a></strong>
109 {if $mailingReport.mailing.body_html}
111 <td class="label nowrap">{ts}HTML Message{/ts}</td>
113 {$mailingReport.mailing.body_html|mb_truncate:30|escape|nl2br}
115 {if $values.mailingId}
116 <strong><a class="crm-popup" href='{$htmlViewURL}'>» {ts}View complete message{/ts}</a></strong>
122 {if $mailingReport.mailing.attachment}
124 <td class="label nowrap">{ts}Attachments{/ts}</td>
126 {$mailingReport.mailing.attachment}
138 <td class="label">{ts}Details{/ts}</td><td class="view-value report">{$values.details|crmStripAlternatives|nl2br}</td>
141 {if $values.attachment}
143 <td class="label">{ts}Attachment(s){/ts}</td><td class="view-value report">{$values.attachment}</td>
147 <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="bottom"}</div>