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 @@
-
{{ _("New Leads")}} ({{new|length}})
+
{{ _("New Leads")}} ({{new|length}})
{% for lead in new %}