From c206a018f76cf21d2e041a33ce40c9ae9250e936 Mon Sep 17 00:00:00 2001 From: Marwan Alwali Date: Mon, 2 Jun 2025 10:59:00 +0300 Subject: [PATCH] update --- templates/crm/leads/lead_tracking.html | 32 +++++++++++++++----------- 1 file changed, 19 insertions(+), 13 deletions(-) diff --git a/templates/crm/leads/lead_tracking.html b/templates/crm/leads/lead_tracking.html index 939b8bd3..b052b0ef 100644 --- a/templates/crm/leads/lead_tracking.html +++ b/templates/crm/leads/lead_tracking.html @@ -10,14 +10,20 @@ min-height: 500px; } .kanban-header { - position: relative; - font-weight: 600; - padding: 0.5rem 1rem; - margin-bottom: 1rem; - color: #333; - clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 50%, calc(100% - 15px) 100%, 0 100%); - box-shadow: 0 1px 2px rgba(0,0,0,0.1); - } + position: relative; + font-weight: 600; + padding: 0.5rem 1rem; + margin-bottom: 1rem; + color: #333; + --pointed-edge: {% if LANGUAGE_CODE == 'en' %} right {% else %} left {% endif %}; + clip-path: {% if LANGUAGE_CODE == 'en' %} + polygon(0 0, calc(100% - 15px) 0, 100% 50%, calc(100% - 15px) 100%, 0 100%) + {% else %} + polygon(15px 0, 100% 0, 100% 100%, 15px 100%, 0 50%) + {% endif %}; + box-shadow: 0 1px 2px rgba(0,0,0,0.1); +} + .kanban-header::after { content: ""; @@ -69,7 +75,7 @@