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