From 02491e2e5171a56f8c7920b23e3638b99f44cce8 Mon Sep 17 00:00:00 2001 From: emkael Date: Mon, 23 Sep 2013 19:22:01 +0200 Subject: * renderowanie poprawki za podwiązania (bug mustache'a) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/lib/OsikaEvaluator.php | 4 ++-- 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 @@ ♠♥♦♣Σ Honory (lewy){{lh.s}}{{lh.h}}{{lh.d}}{{lh.c}}{{lh.total}} Poprawka za zgrupowania honorów{{lh_plus.s}}{{lh_plus.h}}{{lh_plus.d}}{{lh_plus.c}}{{lh_plus.total}} - Poprawka za podwiązania honorów{{lh_10.s}}{{lh_10.h}}{{lh_10.d}}{{lh_10.c}}{{lh_10.total}} + Poprawka za podwiązania honorów{{lh_pod.s}}{{lh_pod.h}}{{lh_pod.d}}{{lh_pod.c}}{{lh_pod.total}} Poprawka za krótkie honory{{lh_short.s}}{{lh_short.h}}{{lh_short.d}}{{lh_short.c}}{{lh_short.total}} Lewy honorowe{{lh_subtotal.s}}{{lh_subtotal.h}}{{lh_subtotal.d}}{{lh_subtotal.c}}{{lh_subtotal.total}} Lewy układowe{{lu.s}}{{lu.h}}{{lu.d}}{{lu.c}}{{lu.total}} -- cgit v1.2.3