Skip to content

Commit

Permalink
create badge new instead hijack communaute badge
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastienReuiller committed Feb 19, 2024
1 parent c40c01e commit 2e539b1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions lemarche/static/itou_marche/base/_custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -107,3 +107,8 @@ a.disabled {
.htmx-request .htmx-indicator{
opacity:1
}

.badge-new {
color: $white;
background-color: $marche-green;
}
1 change: 1 addition & 0 deletions lemarche/static/itou_marche/base/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion lemarche/templates/tenders/_list_item_siae.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
Disponible <strong>jusqu'au : {{ tender.deadline_date|default:"" }}</strong>
{% endif %}
{% if not tender.tendersiae_set.first.detail_display_date %}
<span class="float-right badge badge-sm badge-pill badge-communaute">Nouveau</span>
<span class="float-right badge badge-sm badge-pill badge-new">Nouveau</span>
{% endif %}
</p>
</div>
Expand Down

0 comments on commit 2e539b1

Please sign in to comment.