From 82be9db3dff4014b145889a4019bbc58024f81ca Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Sun, 22 Mar 2020 19:57:51 +1100 Subject: [PATCH] Make a fancy badge --- InvenTree/order/templates/order/tabs.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/InvenTree/order/templates/order/tabs.html b/InvenTree/order/templates/order/tabs.html index f15acdd2b0..a04c97eba5 100644 --- a/InvenTree/order/templates/order/tabs.html +++ b/InvenTree/order/templates/order/tabs.html @@ -5,7 +5,11 @@ {% trans "Items" %} - {% trans "Attachments" %} + {% trans "Attachments" %} + {% if order.attachments.count > 0 %} + {{ order.attachments.count }} + {% endif %} + {% trans "Notes" %}{% if order.notes %} {% endif %}