+--------------------------------------------------------------------+
| CiviCRM version 4.6 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2014 |
+ | Copyright CiviCRM LLC (c) 2004-2015 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
{if $contributionSummary }
<tr>
{if $contributionSummary.total.amount}
- <th class="contriTotalLeft right">{ts}Total Amount{/ts} - {$contributionSummary.total.amount}</th>
- <th class="right"> {ts}# Completed Contributions{/ts} - {$contributionSummary.total.count}</th>
- <th class="right contriTotalRight"> {ts}Avg Amount{/ts} - {$contributionSummary.total.avg}</th>
+ {if $contributionSummary.total.currencyCount gt 1}
+ <th class="contriTotalLeft right">{ts}Total{/ts} - {$contributionSummary.total.amount}</th>
+ <th class="left contriTotalRight"> {ts}# Completed{/ts} - {$contributionSummary.total.count}</th>
+ </tr><tr>
+ <th class="contriTotalLeft">{ts}Avg{/ts} - {$contributionSummary.total.avg}</th>
+ <th class="right"> {ts}Median{/ts} - {$contributionSummary.total.median}</th>
+ <th class="right contriTotalRight"> {ts}Mode{/ts} - {$contributionSummary.total.mode}</th>
+ {else}
+ <th class="contriTotalLeft right">{ts}Total{/ts} - {$contributionSummary.total.amount}</th>
+ <th class="right"> {ts}# Completed{/ts} - {$contributionSummary.total.count}</th>
+ <th class="right"> {ts}Avg{/ts} - {$contributionSummary.total.avg}</th>
+ <th class="right"> {ts}Median{/ts} - {$contributionSummary.total.median}</th>
+ <th class="right contriTotalRight"> {ts}Mode{/ts} - {$contributionSummary.total.mode}</th>
+ {/if}
{/if}
{if $contributionSummary.cancel.amount}
<th class="disabled right contriTotalRight"> {ts}Total Cancelled Amount{/ts} - {$contributionSummary.cancel.amount}</th>