Continue working on css, display carto (buggy), now adding private fields

This commit is contained in:
JC 2016-12-06 15:22:57 +01:00
parent f0d5b5dc25
commit 029fb1faec
4 changed files with 26 additions and 13 deletions

View file

@ -81,6 +81,17 @@
%div.body
= render partial: '/dossiers/infos_dossier'
.default_data_block
%div.row.show-block#pieces-jointes
%div.header
%div.col-lg-8.col-md-8.title
%div.carret-right
%div.carret-down
= "pièces du dossier".upcase
= render partial: '/dossiers/edit_pieces_jointes'
%div.body
= render partial: '/dossiers/infos_pieces_jointes'
- if @facade.dossier.procedure.module_api_carto.use_api_carto
.default_data_block
%div.row.show-block#carto
@ -90,4 +101,6 @@
%div.carret-down
CARTOGRAPHIE
= render partial: '/dossiers/edit_carto'
%div.body
= render partial: '/dossiers/infos_carto'

View file

@ -0,0 +1,11 @@
.row
.col-md-12.col-lg-12
#map.mini{class: @facade.dossier.procedure.module_api_carto.classes}
%input{id: 'json_latlngs', type:'hidden', value: "#{@facade.dossier.json_latlngs}"}
%input{id: 'quartier_prioritaires', type:'hidden', value: "#{@facade.dossier.quartier_prioritaires.to_json}"}
%input{id: 'cadastres', type:'hidden', value: "#{@facade.dossier.cadastres.to_json}"}
%script{type: 'text/javascript'}
= "var dossier_id =#{@facade.dossier.id}"
initCarto();

View file

@ -52,19 +52,6 @@
="#{@facade.dossier.user.given_name} #{@facade.dossier.user.family_name}"
=")"
- if @facade.dossier.procedure.module_api_carto.use_api_carto
.col-lg-6.col-md-6
#map.mini{class: @facade.dossier.procedure.module_api_carto.classes}
%input{id: 'json_latlngs', type:'hidden', value: "#{@facade.dossier.json_latlngs}"}
%input{id: 'quartier_prioritaires', type:'hidden', value: "#{@facade.dossier.quartier_prioritaires.to_json}"}
%input{id: 'cadastres', type:'hidden', value: "#{@facade.dossier.cadastres.to_json}"}
%script{type: 'text/javascript'}
= "var dossier_id =#{@facade.dossier.id}"
initCarto();
#modalCommentairesDossierParChamp.modal.fade{"tabindex" => -1, "role" => "dialog"}
.modal-dialog{"role" => "document"}
.modal-content

View file

@ -101,4 +101,6 @@
%div.carret-down
CARTOGRAPHIE
= render partial: '/dossiers/edit_carto'
%div.body
= render partial: '/dossiers/infos_carto'