Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update detail.html #986

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions jinja2/qfdmo/acteur/detail.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

{% if adresse.labels.filter(afficher=True, bonus=True, type_enseigne=False) %}
<p class="fr-tag fr-tag--icon-left fr-icon-percent-line" data-testid='adresse_detail_header_tag'>Éligible au bonus réparation</p>
<p class="fr-tag fr-tag--icon-left fr-icon-percent-line" data-testid='adresse_detail_header_tag'>Propose le Bonus Réparation</p>
{% elif adresse.labels.filter(afficher=True, type_enseigne=False).count() == 1 %}
{% with source_or_label=adresse.labels.filter(afficher=True, type_enseigne=False).first() %}
{% if source_or_label.logo_file %}
Expand Down Expand Up @@ -282,7 +282,7 @@ <h3 class="fr-text--sm fr-m-0 qfdmo-text-grey-425">Services disponibles</h3>
<div class="fr-card__content">
<h3 class="fr-card__title fr-text--md">
<a href="https://www.ecologie.gouv.fr/bonus-reparation" target="_blank" title="Bonus réparation - Nouvelle fenêtre" rel="noreferrer">
<span class='fr-icon--sm fr-icon-percent-line'></span>&nbsp;Éligible au bonus réparation
<span class='fr-icon--sm fr-icon-percent-line'></span>&nbsp;Propose le Bonus Réparation
</a>
</h3>
<p class="fr-card__desc">Découvrez les réparations pour lesquelles vous pouvez bénéficier d'une aide et faites des économies</p>
Expand Down
Loading