From: Mathieu Lutfy Date: Tue, 30 May 2023 15:31:57 +0000 (-0400) Subject: Mailing Report: when scheduled, displays stats so that we can see recipient count... X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=753b1cffdcc390363965c350647e9e5045acf7f7;p=civicrm-core.git Mailing Report: when scheduled, displays stats so that we can see recipient count and scheduled date --- diff --git a/templates/CRM/Mailing/Page/Report.tpl b/templates/CRM/Mailing/Page/Report.tpl index c264a2b2db..a7bf50da86 100644 --- a/templates/CRM/Mailing/Page/Report.tpl +++ b/templates/CRM/Mailing/Page/Report.tpl @@ -9,60 +9,56 @@ *}
{ts}Delivery Summary{/ts} -{if $report.jobs.0.start_date} - {strip} - - - - - - - - {if $report.mailing.open_tracking} - - - - - - - {/if} - {if $report.mailing.url_tracking} - - - - {/if} - - - - - - - - - - - - - - - - - - - - - - - -
{ts}Intended Recipients{/ts}{$report.event_totals.queue}{$report.event_totals.actionlinks.queue}
{ts}Successful Deliveries{/ts}{$report.event_totals.delivered} ({$report.event_totals.delivered_rate|string_format:"%0.2f"}%){$report.event_totals.actionlinks.delivered}
{ts}Unique Opens{/ts}{$report.event_totals.opened} ({$report.event_totals.opened_rate|string_format:"%0.2f"}%){$report.event_totals.actionlinks.opened_unique}
{ts}Total Opens{/ts}{$report.event_totals.total_opened}{$report.event_totals.actionlinks.opened}
{ts}Click-throughs{/ts}{$report.event_totals.url} ({$report.event_totals.clickthrough_rate|string_format:"%0.2f"}%){$report.event_totals.actionlinks.clicks}
{ts}Forwards{/ts}{$report.event_totals.forward}{$report.event_totals.actionlinks.forward}
{ts}Replies{/ts}{$report.event_totals.reply}{$report.event_totals.actionlinks.reply}
{ts}Bounces{/ts}{$report.event_totals.bounce} ({$report.event_totals.bounce_rate|string_format:"%0.2f"}%){$report.event_totals.actionlinks.bounce}
{ts}Unsubscribe Requests{/ts}{$report.event_totals.unsubscribe} ({$report.event_totals.unsubscribe_rate|string_format:"%0.2f"}%){$report.event_totals.actionlinks.unsubscribe}
{ts}Opt-out Requests{/ts}{$report.event_totals.optout} ({$report.event_totals.optout_rate|string_format:"%0.2f"}%){$report.event_totals.actionlinks.optout}
{ts}Scheduled Date{/ts}{$report.jobs.0.scheduled_date}
{ts}Status{/ts}{$report.jobs.0.status}
{ts}Start Date{/ts}{$report.jobs.0.start_date}
{ts}End Date{/ts}{$report.jobs.0.end_date}
- {/strip} -{else} -
- {ts}Delivery has not yet begun for this mailing. 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"} -
+{if !$report.jobs.0.start_date} +
+ {ts}Delivery has not yet begun for this mailing. 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"} +
+{/if} + + + + + + + +{if $report.mailing.open_tracking} + + + + + + {/if} +{if $report.mailing.url_tracking} + + + +{/if} + + + + + + + + + + + + + + + + + + + + + + + +
{ts}Intended Recipients{/ts}{$report.event_totals.queue}{$report.event_totals.actionlinks.queue}
{ts}Successful Deliveries{/ts}{$report.event_totals.delivered} ({$report.event_totals.delivered_rate|string_format:"%0.2f"}%){$report.event_totals.actionlinks.delivered}
{ts}Unique Opens{/ts}{$report.event_totals.opened} ({$report.event_totals.opened_rate|string_format:"%0.2f"}%){$report.event_totals.actionlinks.opened_unique}
{ts}Total Opens{/ts}{$report.event_totals.total_opened}{$report.event_totals.actionlinks.opened}
{ts}Click-throughs{/ts}{$report.event_totals.url} ({$report.event_totals.clickthrough_rate|string_format:"%0.2f"}%){$report.event_totals.actionlinks.clicks}
{ts}Forwards{/ts}{$report.event_totals.forward}{$report.event_totals.actionlinks.forward}
{ts}Replies{/ts}{$report.event_totals.reply}{$report.event_totals.actionlinks.reply}
{ts}Bounces{/ts}{$report.event_totals.bounce} ({$report.event_totals.bounce_rate|string_format:"%0.2f"}%){$report.event_totals.actionlinks.bounce}
{ts}Unsubscribe Requests{/ts}{$report.event_totals.unsubscribe} ({$report.event_totals.unsubscribe_rate|string_format:"%0.2f"}%){$report.event_totals.actionlinks.unsubscribe}
{ts}Opt-out Requests{/ts}{$report.event_totals.optout} ({$report.event_totals.optout_rate|string_format:"%0.2f"}%){$report.event_totals.actionlinks.optout}
{ts}Scheduled Date{/ts}{$report.jobs.0.scheduled_date}
{ts}Status{/ts}{$report.jobs.0.status}
{ts}Start Date{/ts}{$report.jobs.0.start_date}
{ts}End Date{/ts}{$report.jobs.0.end_date}
-
{ts}Recipients{/ts} {if $report.group.include|@count} @@ -149,7 +145,7 @@ {/if}
-{ts}Content / Components{/ts} +{ts}Content{/ts} {strip} {if $report.mailing.body_text}