{* +--------------------------------------------------------------------+ | 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 | +--------------------------------------------------------------------+ *} {* Display monthly and yearly contributions using Google charts (Bar and Pie) *} {if $hasContributions}
{if $hasByMonthChart} {* display monthly chart *}
{else} {ts}There were no contributions during the selected year.{/ts} {/if}
{* display yearly chart *}
{$form.select_year.label}{$form.select_year.html} {$form.chart_type.label}{$form.chart_type.html}
{else}
{ts}There are no live contribution records to display.{/ts}
{/if} {if $hasChart} {include file="CRM/common/chart.tpl" contriChart=true} {literal} {/literal} {/if}