diff options
author | emkael <emkael@tlen.pl> | 2013-09-23 19:22:01 +0200 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2013-09-23 19:22:01 +0200 |
commit | 02491e2e5171a56f8c7920b23e3638b99f44cce8 (patch) | |
tree | e34d8f3a37e4b956467f076ac385684bcb596376 | |
parent | 12810fdc37e0b5dfbcba692dfbd651cf488d02cd (diff) |
* renderowanie poprawki za podwiązania (bug mustache'a)
-rw-r--r-- | bin/lib/OsikaEvaluator.php | 4 | ||||
-rw-r--r-- | web/index.html | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/bin/lib/OsikaEvaluator.php b/bin/lib/OsikaEvaluator.php index bfb7023..a53ff7f 100644 --- a/bin/lib/OsikaEvaluator.php +++ b/bin/lib/OsikaEvaluator.php @@ -241,13 +241,13 @@ class OsikaEvaluator { $suitChar = self::$_suits[$ind]; $result['lh'][$suitChar] = $this->_honorTricks($suit); $result['lh_plus'][$suitChar] = $this->_honorTrickCorrections($suit); - $result['lh_10'][$suitChar] = $this->_honorTrickSupportCorrections($suit); + $result['lh_pod'][$suitChar] = $this->_honorTrickSupportCorrections($suit); $result['lh_short'][$suitChar] = $this->_honorTrickShortCorrections($suit); $result['lu'][$suitChar] = $this->_distributionTricks($suit); } $result['lh']['total'] = array_sum($result['lh']); $result['lh_plus']['total'] = array_sum($result['lh_plus']); - $result['lh_10']['total'] = array_sum($result['lh_10']); + $result['lh_pod']['total'] = array_sum($result['lh_10']); $result['lh_short']['total'] = array_sum($result['lh_short']); $result['lu']['total'] = array_sum($result['lu']); diff --git a/web/index.html b/web/index.html index 7fbc7c5..afd40e7 100644 --- a/web/index.html +++ b/web/index.html @@ -44,7 +44,7 @@ <tr><th></th><th class="spades">♠</th><th class="hearts">♥</th><th class="diamonds">♦</th><th class="clubs">♣</th><th>Σ</th></tr> <tr><td>Honory (lewy)</td><td>{{lh.s}}</td><td>{{lh.h}}</td><td>{{lh.d}}</td><td>{{lh.c}}</td><td class="subtotal">{{lh.total}}</td></tr> <tr><td>Poprawka za zgrupowania honorów</td><td>{{lh_plus.s}}</td><td>{{lh_plus.h}}</td><td>{{lh_plus.d}}</td><td>{{lh_plus.c}}</td><td class="subtotal">{{lh_plus.total}}</td></tr> - <tr><td>Poprawka za podwiązania honorów</td><td>{{lh_10.s}}</td><td>{{lh_10.h}}</td><td>{{lh_10.d}}</td><td>{{lh_10.c}}</td><td class="subtotal">{{lh_10.total}}</td></tr> + <tr><td>Poprawka za podwiązania honorów</td><td>{{lh_pod.s}}</td><td>{{lh_pod.h}}</td><td>{{lh_pod.d}}</td><td>{{lh_pod.c}}</td><td class="subtotal">{{lh_pod.total}}</td></tr> <tr><td>Poprawka za krótkie honory</td><td>{{lh_short.s}}</td><td>{{lh_short.h}}</td><td>{{lh_short.d}}</td><td>{{lh_short.c}}</td><td class="subtotal">{{lh_short.total}}</td></tr> <tr class="subtotal"><td>Lewy honorowe</td><td>{{lh_subtotal.s}}</td><td>{{lh_subtotal.h}}</td><td>{{lh_subtotal.d}}</td><td>{{lh_subtotal.c}}</td><td>{{lh_subtotal.total}}</td></tr> <tr><td>Lewy układowe</td><td>{{lu.s}}</td><td>{{lu.h}}</td><td>{{lu.d}}</td><td>{{lu.c}}</td><td class="subtotal">{{lu.total}}</td></tr> |