From 2e539b19dba6b956a271a22e14ace79869245e9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Reuiller?= Date: Mon, 19 Feb 2024 10:26:21 +0100 Subject: [PATCH] create badge new instead hijack communaute badge --- lemarche/static/itou_marche/base/_custom.scss | 5 +++++ lemarche/static/itou_marche/base/_variables.scss | 1 + lemarche/templates/tenders/_list_item_siae.html | 2 +- 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/lemarche/static/itou_marche/base/_custom.scss b/lemarche/static/itou_marche/base/_custom.scss index b037e507c..2cf3ed57f 100644 --- a/lemarche/static/itou_marche/base/_custom.scss +++ b/lemarche/static/itou_marche/base/_custom.scss @@ -107,3 +107,8 @@ a.disabled { .htmx-request .htmx-indicator{ opacity:1 } + +.badge-new { + color: $white; + background-color: $marche-green; +} diff --git a/lemarche/static/itou_marche/base/_variables.scss b/lemarche/static/itou_marche/base/_variables.scss index aaf871625..545708a0a 100644 --- a/lemarche/static/itou_marche/base/_variables.scss +++ b/lemarche/static/itou_marche/base/_variables.scss @@ -43,6 +43,7 @@ $marche-lightest: #FFF6F6; $marche-gray-10: #F2F3F5; $marche-gray-light: rgb(251, 251, 251); $marche-purple: #6C38D9; +$marche-green: #18a47d; $marche-tender: #30748B; $marche-proj: #6C38D9; diff --git a/lemarche/templates/tenders/_list_item_siae.html b/lemarche/templates/tenders/_list_item_siae.html index 3fc1e4efa..f4a75ffbe 100644 --- a/lemarche/templates/tenders/_list_item_siae.html +++ b/lemarche/templates/tenders/_list_item_siae.html @@ -18,7 +18,7 @@ Disponible jusqu'au : {{ tender.deadline_date|default:"" }} {% endif %} {% if not tender.tendersiae_set.first.detail_display_date %} - Nouveau + Nouveau {% endif %}