From 4d007d66ac57ad76cf1da6dd2a1c7ddb10020411 Mon Sep 17 00:00:00 2001 From: aronwk-aaron Date: Mon, 28 Nov 2022 14:01:26 -0600 Subject: [PATCH] display count in tooltip if > 999 --- app/templates/partials/charxml/_item_tooltip.html.j2 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/templates/partials/charxml/_item_tooltip.html.j2 b/app/templates/partials/charxml/_item_tooltip.html.j2 index 3dbc072..637f5a2 100644 --- a/app/templates/partials/charxml/_item_tooltip.html.j2 +++ b/app/templates/partials/charxml/_item_tooltip.html.j2 @@ -66,3 +66,7 @@ {% endwith %} {% endif %} +{%if inv_item.attr_c|int > 999 %} + Count: {{ inv_item.attr_c }} +{% endif %} +