Implement batch assurance.
Fixes bug 944 Signed-off-by: Michael Tänzer <neo@nhng.de>bug-1390
parent
b3d761a0d6
commit
118cf4383e
@ -0,0 +1,28 @@
|
||||
<?php
|
||||
/**
|
||||
* @author Michael Tänzer
|
||||
*/
|
||||
?>
|
||||
|
||||
<h1><?php print I18n::_('Do Multiple Assurances at Once') ?></h1>
|
||||
|
||||
<p><?php print I18n::_('Assure multiple dummy accounts in one step. '.
|
||||
'The assurances look just like normal assurances and can be used to gain '.
|
||||
'experience points without suffering from RSI (also known as mouse arm).')
|
||||
?></p>
|
||||
|
||||
<p><?php print I18n::_('The amount of points given per Assurance can be '.
|
||||
'specified in two ways:') ?></p>
|
||||
<dl>
|
||||
<dt><?php print I18n::_('Percentage') ?></dt>
|
||||
<dd><?php print I18n::_('n percent of the maximal possible points are '.
|
||||
'given per Assurance. If it\'s not an integer it is rounded down to '.
|
||||
'the next integer') ?></dd>
|
||||
<dt><?php print I18n::_('Absolute') ?></dt>
|
||||
<dd><?php print I18n::_('Exactly n points are given. If n exceeds the '.
|
||||
'current maximum of points that may be given, it is set to the '.
|
||||
'maximum until due to the gained experience points more points may be '.
|
||||
'given') ?></dd>
|
||||
</dl>
|
||||
|
||||
<?php print $this->batch_assurance_form ?>
|
@ -0,0 +1,28 @@
|
||||
<?php
|
||||
/**
|
||||
* @author Michael Tänzer <neo@nhng.de>
|
||||
*/
|
||||
?>
|
||||
|
||||
<h1><?php print I18n::_('Assurances executed successfully')?></h1>
|
||||
|
||||
<p><?php print I18n::_('The following assurances were executed:')?></p>
|
||||
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>#</th>
|
||||
<th><?php print I18n::_('Assuree')?></th>
|
||||
<th><?php print I18n::_('Number of points')?></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php foreach ($this->assurancesDone as $i => $assurance) {?>
|
||||
<tr>
|
||||
<td><?php print $i ?></td>
|
||||
<td><?php print $assurance['assuree'] ?></td>
|
||||
<td><?php print $assurance['points'] ?></td>
|
||||
</tr>
|
||||
<?php }?>
|
||||
</tbody>
|
||||
</table>
|
Loading…
Reference in New Issue