php-mpos/public/templates/mmcFE/about/donors/default.tpl
Sebastian Grewe 8ec1d2cab3 Adding anonymous account support
* Added anonymous flag to accounts table
* Added checkbox for anonymous flag in edit account page
* Updated user class to support new flag
* Updated statistics class to support anonymous and donations
* Updated all templates showing usernames to show anonymous instead
* Added new SQL `ALTER TABLE` file for upgrading the table

Fixes #419 once merged.
2013-07-12 10:33:42 +02:00

28 lines
820 B
Smarty

{include file="global/block_header.tpl" BLOCK_HEADER="Pool Donors"}
<center>
{include file="global/pagination.tpl"}
<table width="500px" class="pagesort">
<thead>
<tr>
<th>Name</th>
<th class="center">%</th>
<th class="right">{$GLOBAL.config.currency} Total</th>
</tr>
</thead>
<tbody>
{section name=donor loop=$DONORS}
<tr>
<td>{if $DONORS[donor].is_anonymous|default:"0" == 1}anonymous{else}{$DONORS[donor].username}{/if}</td>
<td class="center">{$DONORS[donor].donate_percent}</td>
<td class="right">{$DONORS[donor].donation|number_format:"2"}</td>
</tr>
{sectionelse}
<tr>
<td class="center" colspan="3">No confirmed donations yet, please be patient!</td>
</tr>
{/section}
</tbody>
</table>
</center>
{include file="global/block_footer.tpl"}