Revize e1cc4e89
Přidáno uživatelem Ondřej Fibich před více než 5 roky(ů)
application/i18n/cs_CZ/texts.php | ||
---|---|---|
'members account' => 'Účet člena',
|
||
'members count' => 'Počet členů',
|
||
'members on this address' => 'Členové na této adrese',
|
||
'members with active whitelist' => 'Členové s aktivní bílou listinou',
|
||
'membership can be ended only to former member' => 'Členství může být ukončeno jen bývalému členovi.',
|
||
'membership interrupt' => 'Přerušení členství',
|
||
'membership interrupt begins notification' => 'Oznámení o započetí přerušení členství',
|
application/views/email_templates/notification_activation_report.php | ||
---|---|---|
<?php endforeach; ?>
|
||
</ul>
|
||
|
||
<?php
|
||
$whitelist_member_counter = 0;
|
||
?>
|
||
|
||
<p><?php echo __('Members') ?>:</p>
|
||
|
||
<table border="1" style="border-collapse: collapse;">
|
||
... | ... | |
</thead>
|
||
<tbody>
|
||
<?php foreach ($affected_members as $member): ?>
|
||
<tr>
|
||
<td><?php echo html::anchor('members/show/' . $member->id, $member->id) ?></td>
|
||
<td><?php echo $member->name ?></td>
|
||
<td><?php echo number_format((float) $member->balance, 2, ',', ' ') ?></td>
|
||
</tr>
|
||
<?php if (!$member->whitelisted): ?>
|
||
<tr>
|
||
<td><?php echo html::anchor('members/show/' . $member->id, $member->id) ?></td>
|
||
<td><?php echo $member->name ?></td>
|
||
<td><?php echo number_format((float) $member->balance, 2, ',', ' ') ?></td>
|
||
</tr>
|
||
<?php else: $whitelist_member_counter++; ?>
|
||
<?php endif; ?>
|
||
<?php endforeach; ?>
|
||
</tbody>
|
||
</table>
|
||
|
||
<?php if ($whitelist_member_counter > 0): ?>
|
||
<p><?php echo __('Members with active whitelist') ?>:</p>
|
||
|
||
<table border="1" style="border-collapse: collapse;">
|
||
<thead>
|
||
<tr>
|
||
<th><?php echo __('ID') ?></th>
|
||
<th><?php echo __('Name') ?></th>
|
||
<th><?php echo __('Balance') ?></th>
|
||
</tr>
|
||
</thead>
|
||
<tbody>
|
||
<?php foreach ($affected_members as $member): ?>
|
||
<?php if ($member->whitelisted): ?>
|
||
<tr>
|
||
<td><?php echo html::anchor('members/show/' . $member->id, $member->id) ?></td>
|
||
<td><?php echo $member->name ?></td>
|
||
<td><?php echo number_format((float) $member->balance, 2, ',', ' ') ?></td>
|
||
</tr>
|
||
<?php endif; ?>
|
||
<?php endforeach; ?>
|
||
</tbody>
|
||
</table>
|
||
<?php endif; ?>
|
Také k dispozici: Unified diff
Refs #1111: Fixes notification activation whitelisted members presence by splitting members table to two tables. First table includes non-whitelisted members, second whitelisted members (if present).