Skip to content

Commit

Permalink
fix some issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Laurent MINGUET committed Dec 29, 2017
1 parent 1885841 commit a4a81ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions view/base/templates/zone/observer.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ foreach ($stats as $event) {
$event['nb_call'] = $block->formatValue($event['nb_call'], ['gt' => 200], 'number');
$event['time_total'] = $block->formatValue($event['time_total'], ['gt' => 0.5], 'time_ms');
$event['time_mean'] = $block->formatValue($event['time_mean'], ['gt' => 0.5], 'time_ms');
$event['nb_observers'] = $block->formatValue($event['nb_observers'], ['gt' => 10], 'number');
$event['nb_observers'] = $block->formatValue($event['nb_observers'], ['gt' => 20], 'number');

$list[] = $event;
}
Expand Down Expand Up @@ -84,7 +84,7 @@ echo $block->displayTable(
$sections = [
'Used Events' => [
'Number' => $block->formatValue($sections['Used Events']['Number'], ['gt' => 100], 'number'),
'Called' => $block->formatValue($sections['Used Events']['Called'], ['gt' => 500], 'number'),
'Called' => $block->formatValue($sections['Used Events']['Called'], ['gt' => 1000], 'number'),
'Time' => $block->formatValue($sections['Used Events']['Time'], ['gt' => 1.000], 'time'),
],
'Unused Events' => [
Expand Down

0 comments on commit a4a81ae

Please sign in to comment.