Sensitivity name to sensitivearea model#4403
Draft
lpofredc wants to merge 11 commits intoGeotrekCE:masterfrom
Draft
Sensitivity name to sensitivearea model#4403lpofredc wants to merge 11 commits intoGeotrekCE:masterfrom
lpofredc wants to merge 11 commits intoGeotrekCE:masterfrom
Conversation
Geotrek-admin
|
||||||||||||||||||||||||||||
| Project |
Geotrek-admin
|
| Branch Review |
refs/pull/4403/merge
|
| Run status |
|
| Run duration | 02m 10s |
| Commit |
|
| Committer | Fred C |
| View all properties for this run ↗︎ | |
| Test results | |
|---|---|
|
|
0
|
|
|
0
|
|
|
0
|
|
|
0
|
|
|
22
|
| View all changes introduced in this branch ↗︎ | |
Member
|
On pouvait déjà renseigner un "nom" pour les zones sensibles de type réglementaire. C'était dans un autre champs ? Et je ne suis pas certain qu'il faille peupler toutes les zones sensible de type espèce existante avec le nom de l'espèce associé ? |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Cette PR permet la personnalisation des noms de zones sensibles pour les espèces en ramenant ajoutant un champ
nametraduit dans la tablesensitivity.SensitiveArea.Le nom affiché pour la zone est alors :
Se pose la question de mettre systématiquement le nom de l'espèce dans le nom de la zone mais je crains qu'il ne soit une contrainte sur le nommage personnalisé des zones.
exemple:
Zone de reproduction de l'Aigle royal (Aigle royal)ou la mention de l'espèce serait entre parenthèse.Il reste un problème à gérer sur les migrations Django pour le peuplement des champs
name(namemais aussiname_fr,name_en, etc.) et à bien conforter toute la chaîne (API V2, exports kml, openair et tests).Related Issue
#3483
Checklist