mirror of https://github.com/snachodog/mybuddy.git
Prevent internationalization of numbers used for style parameters.
This commit is contained in:
parent
06bff89ca8
commit
9114a2d911
|
@ -15,13 +15,13 @@
|
|||
{% if info.wet_pct > 0 %}
|
||||
<div class="progress-bar bg-primary lead"
|
||||
role="progressbar"
|
||||
style="width: {{ info.wet_pct }}%;">{{ info.wet|floatformat:'0' }} {% trans "wet" %}</div>
|
||||
style="width: {{ info.wet_pct|safe }}%;">{{ info.wet|floatformat:'0' }} {% trans "wet" %}</div>
|
||||
{% endif %}
|
||||
|
||||
{% if info.solid_pct > 0 %}
|
||||
<div class="progress-bar bg-secondary lead"
|
||||
role="progressbar"
|
||||
style="width: {{ info.solid_pct }}%;">
|
||||
style="width: {{ info.solid_pct|safe }}%;">
|
||||
{{ info.solid|floatformat:'0' }} {% trans "solid" %}</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue