fix large item count displaying

This commit is contained in:
aronwk-aaron 2022-11-23 13:43:28 -06:00
parent 77acd7615a
commit cc4adfcbfe

View File

@ -13,7 +13,11 @@
> >
{% if inv_item.attr_c != "1" %} {% if inv_item.attr_c != "1" %}
<span class="inventory-count text-bold"> <span class="inventory-count text-bold">
{{ inv_item.attr_c }} {%if inv_item.attr_c|int > 999 %}
+999
{% else %}
{{ inv_item.attr_c }}
{% endif %}
</span> </span>
{% endif %} {% endif %}
{% if inv_item.attr_b == "true" %} {% if inv_item.attr_b == "true" %}