Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy McNeice <amcneice@rxante.com>2017-10-18 00:59:29 +0300
committerMatthieu Aubry <mattab@users.noreply.github.com>2017-10-18 00:59:29 +0300
commitda53d1a0beb883e04306ceb85a47a83ff95c3826 (patch)
tree654457829e200b6e8be50b243b7b568ed06f0881 /plugins/Live/templates
parent0124f45e84902c582b9efc063f28338f26033983 (diff)
Formats numbers in the real time widget (#12171)
* Formats numbers in the real time widget * Defers real-time widget formatting to the view only
Diffstat (limited to 'plugins/Live/templates')
-rw-r--r--plugins/Live/templates/_totalVisitors.twig8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/Live/templates/_totalVisitors.twig b/plugins/Live/templates/_totalVisitors.twig
index 4078cd973c..a00ff2b3eb 100644
--- a/plugins/Live/templates/_totalVisitors.twig
+++ b/plugins/Live/templates/_totalVisitors.twig
@@ -16,13 +16,13 @@
<tbody>
<tr class="">
<td class="label column">{{ 'Live_LastHours'|translate(24) }}</td>
- <td class="column">{{ visitorsCountToday }}</td>
- <td class="column">{{ pisToday }}</td>
+ <td class="column">{{ visitorsCountToday|number }}</td>
+ <td class="column">{{ pisToday|number }}</td>
</tr>
<tr class="">
<td class="label column">{{ 'Live_LastMinutes'|translate(30) }}</td>
- <td class="column">{{ visitorsCountHalfHour }}</td>
- <td class="column">{{ pisHalfhour }}</td>
+ <td class="column">{{ visitorsCountHalfHour|number }}</td>
+ <td class="column">{{ pisHalfhour|number }}</td>
</tr>
</tbody>
</table>