Skip to content

Commit

Permalink
Fix INPN status broken links on organism page
Browse files Browse the repository at this point in the history
  • Loading branch information
marcantoinedupre committed Oct 1, 2024
1 parent 5cfa411 commit 4364e73
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion atlas/templates/organismSheet/topSpecies.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ <h4 class="title-bar center mt-2">
<span class="float-right">
{% if configuration.PROTECTION %}
{% if taxon.protection == 'oui' %}
<a href="https://inpn.mnhn.fr/espece/cd_nom/mostObsTaxs[top_taxons.index(taxon)]['cd_ref']/tab/statut"
<a href="https://inpn.mnhn.fr/espece/cd_nom/{{ taxon.cd_ref }}/tab/statut"
target="_blank">
<img src="{{ url_for('static', filename='images/logo_protection.png') }}"
style="width : 30px; height: 30px;" data-placement="left" data-toggle="tooltip"
Expand Down
1 change: 1 addition & 0 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ CHANGELOG

- Correction de la carte avec affichage par mailles de la fiche "Commune" (#533 par @jpm-cbna)
- Correction et amélioration de l'affichage de la fenêtre listant les sous-taxons aggrégés (#558 par @jpm-cbna)
- Correction du lien vers le statut INPN des taxons protégés sur la page organisme (#578 par @marcantoinedupre)

🐛 **Optimisations**

Expand Down

0 comments on commit 4364e73

Please sign in to comment.