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

Fix INPN status broken links on organism page #579

Merged
Merged
Show file tree
Hide file tree
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
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
Loading