Skip to content

Commit

Permalink
fix: correction de l'affichage d'un badge ESRS (environnement)
Browse files Browse the repository at this point in the history
  • Loading branch information
ikarius committed Dec 10, 2024
1 parent 66f84b7 commit aeac034
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion impact/reglementations/templates/fragments/esrs.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ <h4 class="esrs-organizer--title">Environnement</h4>
<div class="esrs-organizer--esrs">
<div class="esrs-organizer--card">
<div class="esrs-organizer--card-title">
<p class="fr-badge fr-badge--sm {% if nombre_enjeux_par_esrs.ESRS_E1 %}fr-badge--blue-ecume{% endif %}">{{ nombre_enjeux_selectionnes_par_esrs.ESRS_E1|default:0 }}/{{ nombre_enjeux_par_esrs.ESRS_E1|default:0 }} Enjeux de durabilité</p>
<p class="fr-badge fr-badge--sm {% if nombre_enjeux_selectionnes_par_esrs.ESRS_E1 %}fr-badge--blue-ecume{% endif %}">{{ nombre_enjeux_selectionnes_par_esrs.ESRS_E1|default:0 }}/{{ nombre_enjeux_par_esrs.ESRS_E1|default:0 }} Enjeux de durabilité</p>
<b>ESRS E1 - Changement climatique</b>
<button class="fr-btn fr-btn--sm fr-icon-edit-fill" title="Ouvre la modale d'information sur l'ESRS E1" aria-hidden="true" data-fr-opened="false" aria-controls="modal-ESRS_E1" hx-get="{% url "reglementations:selection_enjeux" csrd.pk "ESRS_E1" %}" hx-target="#selection_enjeux_ESRS_E1"></button>
</div>
Expand Down

0 comments on commit aeac034

Please sign in to comment.