From e43834bff035005c82586081ce49efe08961206a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Valenta?= <git@imaniti.org>
Date: Fri, 31 Mar 2023 11:23:41 +0200
Subject: [PATCH] display custom unit with slash

---
 contracts/templates/contracts/view_contract.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contracts/templates/contracts/view_contract.html b/contracts/templates/contracts/view_contract.html
index 8165cef..1c6d631 100644
--- a/contracts/templates/contracts/view_contract.html
+++ b/contracts/templates/contracts/view_contract.html
@@ -105,7 +105,7 @@
                         {% if contract.cost_unit == contract.CostUnits.TOTAL %}
                             celkem
                         {% elif contract.cost_unit == contract.CostUnits.OTHER %}
-                            {{ contract.cost_unit_other }}
+                            / {{ contract.cost_unit_other }}
                         {% else %}
                             / {{ contract.get_cost_unit_display.lower }}
                         {% endif %}
-- 
GitLab