commas for ping cost

master
Aevann 2024-04-28 00:38:10 +03:00
parent 2045690faf
commit 6b27d9caa1
2 changed files with 2 additions and 2 deletions

View File

@ -265,7 +265,7 @@
{% endif %}
<em class="ml-2 {% if not c.ping_cost %}d-none{% endif %}">
spent <span id="comment-ping-cost-{{c.id}}">{{c.ping_cost}}</span> currency on pings
spent <span id="comment-ping-cost-{{c.id}}">{{c.ping_cost|commas}}</span> currency on pings
</em>
{% if c.slots_result %}

View File

@ -136,7 +136,7 @@
<a class="vertical-align ml-2" href="{{p.permalink}}">#{{p.id}}</a>
{% if p.ping_cost %}
<em class="ml-2">spent {{p.ping_cost}} currency on pings</em>
<em class="ml-2">spent {{p.ping_cost|commas}} currency on pings</em>
{% endif %}
{% endmacro %}