mirror of
https://github.com/JeroenED/libpairtwo.git
synced 2024-11-21 22:17:41 +01:00
Fixup of boardno in distributions template
This commit is contained in:
parent
05e241d7ba
commit
1793817f66
2
dist/template.php
vendored
2
dist/template.php
vendored
@ -45,7 +45,7 @@ foreach ($reader->getTournament()->getRounds() as $round) {
|
|||||||
echo '<tbody>' . PHP_EOL;
|
echo '<tbody>' . PHP_EOL;
|
||||||
foreach ($round->getGamesByBoard() as $game) {
|
foreach ($round->getGamesByBoard() as $game) {
|
||||||
echo '<tr>' . PHP_EOL;
|
echo '<tr>' . PHP_EOL;
|
||||||
echo '<td>' . $game->getBoard() . '</td>' . PHP_EOL;
|
echo '<td>' . ($game->getBoard() + 1) . '</td>' . PHP_EOL;
|
||||||
echo '<td>' . $game->getWhite()->getPlayer()->getName() . '</td>' . PHP_EOL;
|
echo '<td>' . $game->getWhite()->getPlayer()->getName() . '</td>' . PHP_EOL;
|
||||||
echo '<td>' . $game->getBlack()->getPlayer()->getName() . '</td>' . PHP_EOL;
|
echo '<td>' . $game->getBlack()->getPlayer()->getName() . '</td>' . PHP_EOL;
|
||||||
echo '<td>' . $game->getResult()->getValue() . '</td>' . PHP_EOL;
|
echo '<td>' . $game->getResult()->getValue() . '</td>' . PHP_EOL;
|
||||||
|
Loading…
Reference in New Issue
Block a user