commiting uncommited changes on live site
[weblabels.fsf.org.git] / crm.fsf.org / 20131203 / files / sites / all / modules-new / civicrm / templates / CRM / Mailing / Page / Report.tpl
1 {*
2 +--------------------------------------------------------------------+
3 | CiviCRM version 4.6 |
4 +--------------------------------------------------------------------+
5 | Copyright CiviCRM LLC (c) 2004-2015 |
6 +--------------------------------------------------------------------+
7 | This file is a part of CiviCRM. |
8 | |
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. |
12 | |
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. |
17 | |
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 +--------------------------------------------------------------------+
25 *}
26 <fieldset>
27 <legend>{ts}Delivery Summary{/ts}</legend>
28 {if $report.jobs.0.start_date}
29 {strip}
30 <table class="crm-info-panel">
31 <tr><td class="label"><a href="{$report.event_totals.links.queue}">{ts}Intended Recipients{/ts}</a></td>
32 <td>{$report.event_totals.queue}</td>
33 <td>{$report.event_totals.actionlinks.queue}</td></tr>
34 <tr><td class="label"><a href="{$report.event_totals.links.delivered}">{ts}Successful Deliveries{/ts}</a></td>
35 <td>{$report.event_totals.delivered} ({$report.event_totals.delivered_rate|string_format:"%0.2f"}%)</td>
36 <td>{$report.event_totals.actionlinks.delivered}</td></tr>
37 {if $report.mailing.open_tracking}
38 <tr><td class="label"><a href="{$report.event_totals.links.opened}">{ts}Tracked Opens{/ts}</a></td>
39 <td>{$report.event_totals.opened}</td>
40 <td>{$report.event_totals.actionlinks.opened}</td></tr>
41 {/if}
42 {if $report.mailing.url_tracking}
43 <tr><td class="label"><a href="{$report.event_totals.links.clicks}">{ts}Click-throughs{/ts}</a></td>
44 <td>{$report.event_totals.url}</td>
45 <td>{$report.event_totals.actionlinks.clicks}</td></tr>
46 {/if}
47 <tr><td class="label"><a href="{$report.event_totals.links.forward}">{ts}Forwards{/ts}</a></td>
48 <td>{$report.event_totals.forward}</td>
49 <td>{$report.event_totals.actionlinks.forward}</td></tr>
50 <tr><td class="label"><a href="{$report.event_totals.links.reply}">{ts}Replies{/ts}</a></td>
51 <td>{$report.event_totals.reply}</td>
52 <td>{$report.event_totals.actionlinks.reply}</td></tr>
53 <tr><td class="label"><a href="{$report.event_totals.links.bounce}">{ts}Bounces{/ts}</a></td>
54 <td>{$report.event_totals.bounce} ({$report.event_totals.bounce_rate|string_format:"%0.2f"}%)</td>
55 <td>{$report.event_totals.actionlinks.bounce}</td></tr>
56 <tr><td class="label"><a href="{$report.event_totals.links.unsubscribe}">{ts}Unsubscribe Requests{/ts}</a></td>
57 <td>{$report.event_totals.unsubscribe} ({$report.event_totals.unsubscribe_rate|string_format:"%0.2f"}%)</td>
58 <td>{$report.event_totals.actionlinks.unsubscribe}</td></tr>
59 <tr><td class="label"><a href="{$report.event_totals.links.optout}">{ts}Opt-out Requests{/ts}</a></td>
60 <td>{$report.event_totals.optout} ({$report.event_totals.optout_rate|string_format:"%0.2f"}%)</td>
61 <td>{$report.event_totals.actionlinks.optout}</td></tr>
62 <tr><td class="label">{ts}Scheduled Date{/ts}</td>
63 <td colspan=2>{$report.jobs.0.scheduled_date}</td></tr>
64 <tr><td class="label">{ts}Status{/ts}</td>
65 <td colspan=2>{$report.jobs.0.status}</td></tr>
66 <tr><td class="label">{ts}Start Date{/ts}</td>
67 <td colspan=2>{$report.jobs.0.start_date}</td></tr>
68 <tr><td class="label">{ts}End Date{/ts}</td>
69 <td colspan=2>{$report.jobs.0.end_date}</td></tr>
70 </table>
71 {/strip}
72 {else}
73 <div class="messages status no-popup">
74 {ts}<strong>Delivery has not yet begun for this mailing.</strong> If the scheduled delivery date and time is past, ask the system administrator or technical support contact for your site to verify that the automated mailer task ('cron job') is running - and how frequently.{/ts} {docURL page="user/advanced-configuration/email-system-configuration"}
75 </div>
76 {/if}
77 </fieldset>
78
79 <fieldset>
80 <legend>{ts}Recipients{/ts}</legend>
81 {if $report.group.include|@count}
82 <span class="label">{ts}Included{/ts}</span>
83 {strip}
84 <table class="crm-info-panel">
85 {foreach from=$report.group.include item=group}
86 <tr class="{cycle values="odd-row,even-row"}">
87 <td>
88 {if $group.mailing}
89 {ts 1=$group.link 2=$group.name}Recipients of <a href="%1">%2</a>{/ts}
90 {else}
91 {ts 1=$group.link 2=$group.name}Members of <a href="%1">%2</a>{/ts}
92 {/if}
93 </td>
94 </tr>
95 {/foreach}
96 </table>
97 {/strip}
98 {/if}
99
100 {if $report.group.exclude|@count}
101 <span class="label">{ts}Excluded{/ts}</span>
102 {strip}
103 <table class="crm-info-panel">
104 {foreach from=$report.group.exclude item=group}
105 <tr class="{cycle values="odd-row,even-row"}">
106 <td>
107 {if $group.mailing}
108 {ts 1=$group.link 2=$group.name}Recipients of <a href="%1">%2</a>{/ts}
109 {else}
110 {ts 1=$group.link 2=$group.name}Members of <a href="%1">%2</a>{/ts}
111 {/if}
112 </td>
113 </tr>
114 {/foreach}
115 </table>
116 {/strip}
117 {/if}
118
119 {if $report.group.base|@count}
120 <span class="label">{ts}Unsubscription Groups{/ts}</span>
121 {strip}
122 <table class="crm-info-panel">
123 {foreach from=$report.group.base item=group}
124 <tr class="{cycle values="odd-row,even-row"}">
125 <td>
126 {if $group.mailing}
127 {ts 1=$group.link 2=$group.name}Recipients of <a href="%1">%2</a>{/ts}
128 {else}
129 {ts 1=$group.link 2=$group.name}Members of <a href="%1">%2</a>{/ts}
130 {/if}
131 </td>
132 </tr>
133 {/foreach}
134 </table>
135 {/strip}
136 {/if}
137 </fieldset>
138
139 {if $report.mailing.url_tracking && $report.click_through|@count > 0}
140 <fieldset>
141 <legend>{ts}Click-through Summary{/ts}</legend>
142 {strip}
143 <table class="crm-info-panel">
144 <tr>
145 <th><a href="{$report.event_totals.links.clicks}">{ts}Clicks{/ts}</a></th>
146 <th><a href="{$report.event_totals.links.clicks_unique}">{ts}Unique Clicks{/ts}</a></th>
147 <th>{ts}Success Rate{/ts}</th>
148 <th>{ts}URL{/ts}</th></tr>
149 {foreach from=$report.click_through item=row}
150 <tr class="{cycle values="odd-row,even-row"}">
151 <td>{if $row.clicks > 0}<a href="{$row.link}">{$row.clicks}</a>{else}{$row.clicks}{/if}</td>
152 <td>{if $row.unique > 0}<a href="{$row.link_unique}">{$row.unique}</a>{else}{$row.unique}{/if}</td>
153 <td>{$row.rate|string_format:"%0.2f"}%</td>
154 <td><a href="{$row.url}">{$row.url}</a></td>
155 </tr>
156 {/foreach}
157 </table>
158 {/strip}
159 </fieldset>
160 {/if}
161
162 <fieldset>
163 <legend>{ts}Content / Components{/ts}</legend>
164 {strip}
165 <table class="crm-info-panel">
166 {if $report.mailing.body_text}
167 <tr>
168 <td class="label nowrap">{ts}Text Message{/ts}</td>
169 <td>
170 {$report.mailing.body_text|mb_truncate:30|escape|nl2br}
171 <br />
172 <strong><a class="crm-popup" href='{$textViewURL}'>&raquo; {ts}View complete message{/ts}</a></strong>
173 </td>
174 </tr>
175 {/if}
176
177 {if $report.mailing.body_html}
178 <tr>
179 <td class="label nowrap">{ts}HTML Message{/ts}</td>
180 <td>
181 {$report.mailing.body_html|mb_truncate:30|escape|nl2br}
182 <br/>
183 <strong><a class="crm-popup" href='{$htmlViewURL}'>&raquo; {ts}View complete message{/ts}</a></strong>
184 </td>
185 </tr>
186 {/if}
187
188 {if $report.mailing.attachment}
189 <tr>
190 <td class="label nowrap">{ts}Attachments{/ts}</td>
191 <td>
192 {$report.mailing.attachment}
193 </td>
194 </tr>
195 {/if}
196
197 {foreach from=$report.component item=component}
198 <tr><td class="label">{$component.type}</td><td><a href="{$component.link}">{$component.name}</a></td></tr>
199 {/foreach}
200 </table>
201 {/strip}
202 </fieldset>
203
204 <fieldset>
205 <legend>
206 {ts}Mailing Settings{/ts}
207 </legend>
208 {strip}
209 <table class="crm-info-panel">
210 <tr><td class="label">{ts}Mailing Name{/ts}</td><td>{$report.mailing.name}</td></tr>
211 <tr><td class="label">{ts}Subject{/ts}</td><td>{$report.mailing.subject}</td></tr>
212 <tr><td class="label">{ts}From{/ts}</td><td>{$report.mailing.from_name} &lt;{$report.mailing.from_email}&gt;</td></tr>
213 <tr><td class="label">{ts}Reply-to email{/ts}</td><td>{$report.mailing.replyto_email|htmlentities}</td></tr>
214
215 <tr><td class="label">{ts}Forward replies{/ts}</td><td>{if $report.mailing.forward_replies}{ts}On{/ts}{else}{ts}Off{/ts}{/if}</td></tr>
216 <tr><td class="label">{ts}Auto-respond to replies{/ts}</td><td>{if $report.mailing.auto_responder}{ts}On{/ts}{else}{ts}Off{/ts}{/if}</td></tr>
217
218 <tr><td class="label">{ts}Open tracking{/ts}</td><td>{if $report.mailing.open_tracking}{ts}On{/ts}{else}{ts}Off{/ts}{/if}</td></tr>
219 <tr><td class="label">{ts}URL Click-through tracking{/ts}</td><td>{if $report.mailing.url_tracking}{ts}On{/ts}{else}{ts}Off{/ts}{/if}</td></tr>
220
221 {if $report.mailing.campaign}
222 <tr><td class="label">{ts}Campaign{/ts}</td><td>{$report.mailing.campaign}</td></tr>
223 {/if}
224
225 </table>
226 {/strip}
227 </fieldset>
228 <div class="action-link">
229 <a href="{$backUrl}" >&raquo; {$backUrlTitle}</a>
230 </div>
231
232
233
234
235