diff options
author | Andy McNeice <amcneice@rxante.com> | 2017-10-18 00:59:29 +0300 |
---|---|---|
committer | Matthieu Aubry <mattab@users.noreply.github.com> | 2017-10-18 00:59:29 +0300 |
commit | da53d1a0beb883e04306ceb85a47a83ff95c3826 (patch) | |
tree | 654457829e200b6e8be50b243b7b568ed06f0881 /plugins/Live/templates | |
parent | 0124f45e84902c582b9efc063f28338f26033983 (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.twig | 8 |
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> |