2018-04-04 16:35:30 +02:00
|
|
|
|
- if dossier.json_latlngs.nil?
|
|
|
|
|
%h2.empty-text Non renseigné
|
|
|
|
|
- else
|
|
|
|
|
#map
|
2017-07-24 20:04:41 +02:00
|
|
|
|
|
2018-04-04 16:35:30 +02:00
|
|
|
|
- if dossier.quartier_prioritaires.any?
|
|
|
|
|
.card-title Quartiers prioritaires
|
|
|
|
|
%ul
|
|
|
|
|
- dossier.quartier_prioritaires.each do |q|
|
|
|
|
|
%li= q.nom
|
2017-07-24 20:04:41 +02:00
|
|
|
|
|
2018-04-04 16:35:30 +02:00
|
|
|
|
- if dossier.cadastres.any?
|
|
|
|
|
.card-title Parcelles cadastrales
|
|
|
|
|
%ul
|
|
|
|
|
- dossier.cadastres.each do |p|
|
|
|
|
|
%li
|
|
|
|
|
= "Parcelle n° #{p.numero} - Feuille #{p.code_arr} #{p.section} #{p.feuille}"
|
2017-07-24 20:04:41 +02:00
|
|
|
|
|
2018-04-04 16:35:30 +02:00
|
|
|
|
:javascript
|
2018-07-12 11:50:47 +02:00
|
|
|
|
DATA.push({
|
|
|
|
|
carto: {
|
|
|
|
|
getPositionUrl: "#{position_gestionnaire_dossier_path(dossier.procedure, dossier)}",
|
|
|
|
|
dossierJsonLatLngs: #{raw(ensure_safe_json(dossier.json_latlngs))},
|
|
|
|
|
dossierCadastres: #{raw(ensure_safe_json(dossier.cadastres.to_json))},
|
|
|
|
|
dossierQuartiersPrioritaires: #{raw(ensure_safe_json(dossier.quartier_prioritaires.to_json))}
|
|
|
|
|
}
|
|
|
|
|
});
|