@@ -107,14 +107,16 @@ <h4 class="strong"><i>{{ taxon.taxonSearch.nom_complet_html|safe }} </i></h4>
107
107
108
108
<!-- Modal -->
109
109
< div class ="modal fade " id ="myModal " tabindex ="-1 " role ="dialog " aria-labelledby ="myModalLabel ">
110
- < div class ="modal-dialog " role ="document ">
110
+ < div class ="modal-dialog modal-lg " role ="document ">
111
111
< div class ="modal-content ">
112
112
< div class ="modal-header ">
113
+ < h3 class ="modal-title " id ="myModalLabel ">
114
+ Taxon(s) agrégé(s) sur cette fiche
115
+ </ h3 >
113
116
< button type ="button " class ="close " data-dismiss ="modal "
114
- aria-label ="Close "> < span
115
- aria-hidden ="true "> ×</ span > </ button >
116
- < h3 class ="modal-title " id ="myModalLabel "> Taxon(s) agrégé(s) sur cette
117
- fiche</ h3 >
117
+ aria-label ="Close ">
118
+ < span aria-hidden ="true "> ×</ span >
119
+ </ button >
118
120
</ div >
119
121
< div class ="modal-body ">
120
122
< table class ="table table-hover ">
@@ -134,29 +136,31 @@ <h3 class="modal-title" id="myModalLabel">Taxon(s) agrégé(s) sur cette
134
136
</ thead >
135
137
< tbody >
136
138
{% for child in taxon.listTaxonsChild %}
137
- < a href =" {{ url_for('main.ficheEspece', cd_nom=child.cd_ref) }} " >
138
- < tr >
139
- < td >
140
- {% if child.nom_vern != None % }
141
- {{ child.nom_vern } }
142
- {% else %}
143
- -
144
- </ td >
145
- {% endif %}
146
- < td > {{ child.lb_nom }} </ td >
139
+ < tr >
140
+ < td >
141
+ {% if child.nom_vern != None %}
142
+ {{ child.nom_vern } }
143
+ {% else % }
144
+ -
145
+ {% endif %}
146
+ </ td >
147
+ < td > {{ child.lb_nom }} </ td >
148
+ {% if configuration.PROTECTION %}
147
149
< td >
148
150
{% if child.protection != None %}
149
151
< a href ="https://inpn.mnhn.fr/espece/cd_nom/{{ taxon.taxonSearch.cd_ref }}/tab/statut "
150
- target ="_blank ">
152
+ target ="_blank ">
151
153
< img class ="caractEspece " width ="130px "
152
- src ="{{ url_for('static', filename='images/logo_protection.png') }} "
153
- data-toggle ="tooltip "
154
- data-original-title ="{{ _('this.taxon.has.a.protected.status') }} "
155
- data-placement ="right "> </ a >
154
+ src ="{{ url_for('static', filename='images/logo_protection.png') }} "
155
+ data-toggle ="tooltip "
156
+ data-original-title ="{{ _('this.taxon.has.a.protected.status') }} "
157
+ data-placement ="right "> </ a >
156
158
{% endif %}
157
159
</ td >
160
+ {% endif %}
161
+ {% if config.DISPLAY_PATRIMONIALITE %}
158
162
< td >
159
- {% if config.DISPLAY_PATRIMONIALITE and child.patrimonial in configuration.PATRIMONIALITE.config %}
163
+ {% if child.patrimonial in configuration.PATRIMONIALITE.config %}
160
164
< img
161
165
class ="caractEspece " width ="130px "
162
166
src ="{{ url_for('static', filename=configuration.PATRIMONIALITE.config[child.patrimonial].icon) }} "
@@ -166,24 +170,22 @@ <h3 class="modal-title" id="myModalLabel">Taxon(s) agrégé(s) sur cette
166
170
>
167
171
{% endif %}
168
172
</ td >
169
- < td > {{ child.nb_obs | pretty }} </ td >
170
- < td >
171
- < a href ="{{ url_for('main.ficheEspece', cd_nom=child.cd_ref) }} ">
172
- < span id ="ficheGlyficon " data-toggle ="tooltip "
173
- data-original-title ="{{ _('check.species.sheet')}} "
174
- data-placement ="right "
175
- class ="fas fa-list "> </ span >
176
- </ a >
177
- </ td >
178
-
179
- </ tr >
180
- </ a >
173
+ {% endif %}
174
+ < td > {{ child.nb_obs | pretty }} </ td >
175
+ < td >
176
+ < a href ="{{ url_for('main.ficheEspece', cd_nom=child.cd_ref) }} ">
177
+ < span id ="ficheGlyficon " data-toggle ="tooltip "
178
+ data-original-title ="{{ _('check.species.sheet')}} "
179
+ data-placement ="right "
180
+ class ="fas fa-list "> </ span >
181
+ </ a >
182
+ </ td >
183
+ </ tr >
181
184
{% endfor %}
182
185
</ tbody >
183
186
</ table >
184
187
</ div >
185
188
</ div >
186
-
187
189
</ div >
188
190
</ div >
189
191
0 commit comments