-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(Dépôt de besoin): Réparation du badge de clôture (#1125)
- Loading branch information
1 parent
4404359
commit af0bd82
Showing
8 changed files
with
74 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,20 @@ | ||
<span class="badge badge-xs badge-base badge-pill badge-{{ tender.kind|lower }}"> | ||
{{ tender_kind_display|default:tender.get_kind_display }} clôturé{% if tender.kind == "QUOTE" %}e{% endif %} | ||
le {{ tender.deadline_date|default:"" }} | ||
</span> | ||
<p class="mb-1"> | ||
{% if tender.deadline_date_is_outdated_annotated %} | ||
<span class="badge badge-xs badge-base badge-pill badge-{{ tender.kind|lower }}"> | ||
{{ tender_kind_display|default:tender.get_kind_display }} clôturé{% if tender.kind == "QUOTE" %}e{% endif %} | ||
le {{ tender.deadline_date|default:"" }} | ||
</span> | ||
{% else %} | ||
<span class="badge badge-base badge-pill mr-1 badge-{{ tender.kind|lower }}"> | ||
{% if tender.kind == "PROJ" %} | ||
{{ title_kind_sourcing_siae|default:tender.get_kind_display }} | ||
{% else %} | ||
{{ tender.get_kind_display }} | ||
{% endif %} | ||
</span> | ||
Disponible <strong>jusqu'au : {{ tender.deadline_date|default:"" }}</strong> | ||
{% if is_new_for_siaes %} | ||
<span class="float-right badge badge-sm badge-pill badge-new">Nouveau</span> | ||
{% endif %} | ||
{% endif %} | ||
</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Generated by Django 4.2.9 on 2024-03-13 10:41 | ||
|
||
from django.db import migrations | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("tenders", "0078_tendersiae_is_deleted_by_siae"), | ||
("tenders", "0080_tender_siae_transactioned_source_and_more"), | ||
] | ||
|
||
operations = [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters