Round Usage

This commit is contained in:
Kekskurse 2019-07-07 11:49:09 +02:00
parent 00d5cc8cc2
commit 4452020a29
2 changed files with 2 additions and 2 deletions

View file

@ -31,7 +31,7 @@
</tr>
<tr>
<th>Data Usage</th>
<td>{{ account["dataUsed"] }}%</td>
<td>{{ account["dataUsed"]|round(2) }}%</td>
</tr>
</table>
<a href="#" class="btn btn-warning btn-sm updateNow">Update now</a>

View file

@ -15,7 +15,7 @@
<td> +{{ account["number"] }}</td>
<td>
<div class="progress">
<div class="progress-bar" role="progressbar" style="width: {{ account["dataUsed"] }}%;" aria-valuenow="{{ account["dataUsed"] }}" aria-valuemin="0" aria-valuemax="100"></div>
<div class="progress-bar" role="progressbar" style="width: {{ account["dataUsed"]|round(2) }}%;" aria-valuenow="{{ account["dataUsed"]|round(2) }}" aria-valuemin="0" aria-valuemax="100"></div>
</div>
</td>
<td> {{ account["currentPlan"] }}</td>