From cc4adfcbfeab0b3dd7858baa99b701a380f02acd Mon Sep 17 00:00:00 2001 From: aronwk-aaron Date: Wed, 23 Nov 2022 13:43:28 -0600 Subject: [PATCH] fix large item count displaying --- app/templates/partials/charxml/_inv_grid.html.j2 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/templates/partials/charxml/_inv_grid.html.j2 b/app/templates/partials/charxml/_inv_grid.html.j2 index 96657d2..fca858c 100644 --- a/app/templates/partials/charxml/_inv_grid.html.j2 +++ b/app/templates/partials/charxml/_inv_grid.html.j2 @@ -13,7 +13,11 @@ > {% if inv_item.attr_c != "1" %} - {{ inv_item.attr_c }} + {%if inv_item.attr_c|int > 999 %} + +999 + {% else %} + {{ inv_item.attr_c }} + {% endif %} {% endif %} {% if inv_item.attr_b == "true" %}