Mutualize all informations in dossier_show partial, now work on css

This commit is contained in:
JC 2016-12-07 13:57:55 +01:00
parent 746d69796e
commit 5c93920f74
12 changed files with 310 additions and 331 deletions

View file

@ -6,10 +6,6 @@ function init_default_data_block() {
$('.default_data_block #dossier .carret-right').toggle();
$('.default_data_block #dossier .carret-down').toggle();
if ($('.default_data_block #messages .commentaires').length == 0) {
$('.default_data_block #messages .body').toggle();
}
$('.default_data_block .title').click(function () {
toggle_default_data_bloc(this, 400);
});

View file

@ -117,9 +117,40 @@
.depositaire-label {
font-weight: bold;
text-align: end;
margin-left: -20px;
}
.depositaire-info {
}
.btn-action{
border: none;
margin: 20px 0 40px 0;
}
.btn-action:hover {
color: #EEEEEE;
}
.action {
margin: 20px 0 0 15px;
}
.action, .btn-action {
background-color: #E45B51;
text-align: center;
cursor: pointer;
color: #FFFFFF;
width: 253px;
height: 40px;
line-height: 40px;
font-family: Arial;
font-size: 16px;
font-weight: bold;
text-decoration: none;
a:hover {
color: #EEEEEE;
}
}
.historique {
color: #000000;
margin-left: 20px;
}
.comments {
margin-right: -10px;
}

View file

@ -1,119 +1,2 @@
%div.col-lg-12.col-md-12#backoffice_dossier_show
.default_data_block
.row.show-block#messages
%div.header
%div.col-lg-10.col-md-10.title
.carret-right
.carret-down
MESSAGES
%div.col-lg-2.col-md-2.count
- message_count = @facade.commentaires.count
= (message_count == 1) ? "1 message" : "#{message_count} messages"
%div.body
- unless @facade.commentaires.empty?
%div.commentaires
- @facade.commentaires.object.sort.each do |commentaire|
= render partial: commentaire
- else
%div.no-commentaires
= t("utils.no-commentaires")
.row
.col-lg-12.col-md-12
%div.split-hr
.row
%div.col-lg-12.col-md-12#new-commentaire
= form_tag(url_for({ controller: 'commentaires', action: :create, dossier_id: @facade.dossier.id, champ_id: @facade.champ_id }), class: 'form-inline', method: 'POST', multipart: true) do
%textarea.form-control{id: 'texte_commentaire', class: 'wysihtml5', name: 'texte_commentaire', style: 'width: 100%; margin-bottom:2%', rows: '5', placeholder:"Commentaire"}
%h4.text-primary{style: 'margin-top: 0px'} Ajouter un fichier
= file_field_tag "piece_justificative[content]", accept: PieceJustificative.accept_format, style: 'float: left; margin-left: 20px'
%input.form-control.btn.btn-send{ type: 'submit', value: 'ENVOYER' }
- if last_comment = @facade.commentaires.first
%div.last-commentaire
.row
%div.col-lg-12.col-md-12.comment-header
= "DERNIER MESSAGE (#{last_comment.header})"
.row
%div.col-lg-12.col-md-12.content
= last_comment.body.html_safe
- if file = last_comment.piece_justificative
.row
%div.col-lg-12.col-md-12.file
= link_to file.content_url, class: 'link', target: '_blank' do
%span.fa.fa-file
%div
= file.original_filename
.row
.col-lg-12.col-md-12
%div.new-action
ENVOYER UN MESSAGE
- if @facade.procedure.individual_with_siret
.default_data_block
%div.row.show-block#infos
%div.header
%div.col-lg-8.col-md-8.title-no-expanse
%div.carret-right
INFORMATIONS ENTREPRISE / ASSOCIATION
%div.col-lg-4.col-md-4.action
%a#add_siret.action{href: users_dossier_add_siret_path(dossier_id: @facade.dossier.id)}
= "Renseigner un SIRET"
- unless @facade.entreprise.nil?
.default_data_block
%div.row.show-block#infos
%div.header
%div.col-lg-12.col-md-12.title
%div.carret-right
%div.carret-down
INFORMATIONS ENTREPRISE / ASSOCIATION
%div.body
= render partial: '/dossiers/infos_entreprise'
.default_data_block
%div.row.show-block#dossier
%div.header
%div.col-lg-10.col-md-10.title
%div.carret-right
%div.carret-down
CONSTRUCTION DU DOSSIER
= render partial: '/dossiers/edit_dossier'
%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
%div.header
%div.col-lg-10.col-md-10.title
%div.carret-right
%div.carret-down
CARTOGRAPHIE
= render partial: '/dossiers/edit_carto'
%div.body
= render partial: '/dossiers/infos_carto'
.default_data_block
%div.row.show-block#private-fields
%div.header
%div.col-lg-10.col-md-10.title
%div.carret-right
%div.carret-down
= "champs privés".upcase
%div.col-lg-2.col-md-2.count
- private_fields_count = @champs.count
= (private_fields_count == 1) ? "1 champ privé" : "#{private_fields_count} champs privés"
%div.body
= render partial: '/dossiers/infos_private_fields'
= render partial: "dossiers/dossier_show"

View file

@ -0,0 +1,111 @@
.default_data_block
.row.show-block#messages
%div.header
%div.col-lg-10.col-md-10.title
.carret-right
.carret-down
MESSAGES
%div.col-lg-2.col-md-2.count
- message_count = @facade.commentaires.count
= (message_count == 1) ? "1 message" : "#{message_count} messages"
%div.body
- unless @facade.commentaires.empty?
%div.commentaires
- @facade.commentaires.object.sort.each do |commentaire|
= render partial: commentaire
.row
.col-lg-12.col-md-12
%div.split-hr
.row
%div.col-lg-12.col-md-12#new-commentaire
= form_tag(url_for({ controller: 'commentaires', action: :create, dossier_id: @facade.dossier.id, champ_id: @facade.champ_id }), class: 'form-inline', method: 'POST', multipart: true) do
%textarea.form-control{id: 'texte_commentaire', class: 'wysihtml5', name: 'texte_commentaire', style: 'width: 100%; margin-bottom:2%', rows: '5', placeholder:"Commentaire"}
%h4.text-primary{style: 'margin-top: 0px'} Ajouter un fichier
= file_field_tag "piece_justificative[content]", accept: PieceJustificative.accept_format, style: 'float: left; margin-left: 20px'
%input.form-control.btn.btn-send{ type: 'submit', value: 'ENVOYER' }
- if last_comment = @facade.commentaires.first
%div.last-commentaire
.row
%div.col-lg-12.col-md-12.comment-header
= "DERNIER MESSAGE (#{last_comment.header})"
.row
%div.col-lg-12.col-md-12.content
= last_comment.body.html_safe
- if file = last_comment.piece_justificative
.row
%div.col-lg-12.col-md-12.file
= link_to file.content_url, class: 'link', target: '_blank' do
%span.fa.fa-file
%div
= file.original_filename
.row
.col-lg-12.col-md-12
%div.new-action
ENVOYER UN MESSAGE
- else
.last-commentaire
.row
.col-lg-12.col-md-12
%div.new-action
ENVOYER UN MESSAGE
- if @facade.procedure.individual_with_siret
.default_data_block
%div.row.show-block#infos
%div.header
%div.col-lg-8.col-md-8.title-no-expanse
%div.carret-right
INFORMATIONS ENTREPRISE / ASSOCIATION
%div.col-lg-4.col-md-4.action
%a#add_siret.action{href: users_dossier_add_siret_path(dossier_id: @facade.dossier.id)}
= "Renseigner un SIRET"
- unless @facade.entreprise.nil?
.default_data_block
%div.row.show-block#infos
%div.header
%div.col-lg-12.col-md-12.title
%div.carret-right
%div.carret-down
INFORMATIONS ENTREPRISE / ASSOCIATION
%div.body
= render partial: '/dossiers/infos_entreprise'
.default_data_block
%div.row.show-block#dossier
%div.header
%div.col-lg-10.col-md-10.title
%div.carret-right
%div.carret-down
CONSTRUCTION DU DOSSIER
= render partial: '/dossiers/edit_dossier'
%div.body
= render partial: '/dossiers/infos_dossier'
- if @facade.dossier.procedure.module_api_carto.use_api_carto
- if false
.default_data_block
%div.row.show-block#carto
%div.header
%div.col-lg-10.col-md-10.title
%div.carret-right
%div.carret-down
CARTOGRAPHIE
= render partial: '/dossiers/edit_carto'
%div.body
= render partial: '/dossiers/infos_carto'
- if @current_gestionnaire && gestionnaire_signed_in?
.default_data_block
%div.row.show-block#private-fields
%div.header
%div.col-lg-10.col-md-10.title
%div.carret-right
%div.carret-down
= "champs privés".upcase
%div.col-lg-2.col-md-2.count
- private_fields_count = @champs.count
= (private_fields_count == 1) ? "1 champ privé" : "#{private_fields_count} champs privés"
%div.body
= render partial: '/dossiers/infos_private_fields'

View file

@ -1,23 +1,27 @@
%div.row
.col-lg-12.col-md-12.margin-bot-40
.col-lg-12.col-md-12
- if @facade.procedure.for_individual?
.row.title-row
%div.col-md-4.col-lg-4.split-hr
%div.col-md-4.col-lg-4.dossier-title= t('dynamics.dossiers.depositaite').upcase
%div.col-md-4.col-lg-4.dossier-title= t('utils.depositaire').upcase
%div.col-md-4.col-lg-4.split-hr
.row
%div.col-md-6.col-lg-6.depositaire-label Civilité
%div.col-md-6.col-lg-6.depositaire-info= @facade.individual.gender
%div.col-md-1.col-lg-1.comments-off= "-"
%div.col-md-5.col-lg-5.depositaire-info= @facade.individual.gender
.row
%div.col-md-6.col-lg-6.depositaire-label Nom
%div.col-md-6.col-lg-6.depositaire-info= @facade.individual.nom
%div.col-md-1.col-lg-1.comments-off= "-"
%div.col-md-5.col-lg-5.depositaire-info= @facade.individual.nom
.row
%div.col-md-6.col-lg-6.depositaire-label Prénom
%div.col-md-6.col-lg-6.despositaire-info= @facade.individual.prenom
%div.col-md-1.col-lg-1.comments-off= "-"
%div.col-md-5.col-lg-5.despositaire-info= @facade.individual.prenom
- unless Features.opensimplif
.row
%div.col-md-6.col-lg-6.depositaire-label Date de naissance
%div.col-md-6.col-lg-6.depositaire-info= @facade.individual.birthdate
%div.col-md-1.col-lg-1.comments-off= "-"
%div.col-md-5.col-lg-5.depositaire-info= @facade.individual.birthdate
- unless @facade.champs.nil?
- @facade.champs.each do |champ|
@ -51,6 +55,101 @@
%b
="#{@facade.dossier.user.given_name} #{@facade.dossier.user.family_name}"
=")"
%div.row
.col-lg-12.col-md-12
- if @facade.procedure.for_individual?
.row.title-row
%div.col-md-4.col-lg-4.split-hr
%div.col-md-4.col-lg-4.dossier-title= t('utils.pieces').upcase
%div.col-md-4.col-lg-4.split-hr
.col-lg-12.col-md-12#pieces_justificatives.margin-bot-40
.row
- if @facade.procedure.cerfa_flag?
.col-md-12.col-lg-12#piece_justificative_0
.row.piece-row
.col-md-6.col-lg-6.depositaire-label= 'Formulaire'
.col-md-1.col-lg-1.comments-off= "-"
.col-md-5.col-lg-5.despositaire-info
- if @facade.dossier.cerfa_available?
%a{ href: "#{@facade.dossier.cerfa.last.content_url}", target: '_blank' } Consulter
%span{style:'margin-left:12px'}
\-
= link_to "", class: "historique", "data-toggle" => "modal", "data-target" => "#PJmodal", :type => "button", "data-modal_title" => 'formulaires', "data-modal_index" => 'cerfa' do
%span.fa.fa-clock-o
- else
= 'Pièce non fournie'
.row
.col-md-12.col-lg-12
- @facade.dossier.types_de_piece_justificative.order('order_place ASC').each do |type_de_piece_justificative|
.row.piece-row
.col-md-12.col-lg-12{ id: "piece_justificative_#{type_de_piece_justificative.id}" }
.row
%div.col-md-6.col-lg-6.depositaire-label= type_de_piece_justificative.libelle
%div.col-md-1.col-lg-1.comments-off= "-"
%div.col-md-5.col-lg-5.despositaire-info
- if type_de_piece_justificative.api_entreprise
%span.text-success Nous l'avons récupéré pour vous.
- elsif !(@pj = @facade.dossier.retrieve_last_piece_justificative_by_type(type_de_piece_justificative.id)).nil?
%a{ href: "#{@pj.content_url}", target: '_blank' } Consulter
%span{style:'margin-left:12px'}
\-
= link_to "", class: "historique", "data-toggle" => "modal", "data-target" => "#PJmodal", :type => "button", "data-modal_title" => 'formulaires', "data-modal_index" => 'cerfa' do
%span.fa.fa-clock-o
- else
= 'Pièce non fournie'
- unless @facade.dossier.read_only?
- if user_signed_in? && (@facade.dossier.owner?(current_user.email) || @facade.dossier.invite_by_user?(current_user.email))
- if @facade.procedure.cerfa_flag? || @facade.dossier.types_de_piece_justificative.size > 0
.row
.col-lg-4.col-md-4
.col-lg-4.col-md-4.action
%a#maj_pj.action{"data-target" => "#UploadPJmodal", "data-toggle" => "modal", :type => "button"}
Modifier les documents
%br
= render partial: 'users/recapitulatif/modal_upload_pj'
.col-lg-4.col-md-4
- if gestionnaire_signed_in?
#PJmodal.modal.fade{"aria-labelledby" => "myModalLabel", :role => "dialog", :tabindex => "-1"}
.modal-dialog.modal-lg{:role => "document"}
.modal-content
.modal-header
%button.close{"aria-label" => "Close", "data-dismiss" => "modal", :type => "button"}
%span{"aria-hidden" => "true"} ×
%h4#myModalLabel.modal-title
Historique des
%span#PJmodal_title
.modal-body
%table.table
%thead
%th
Utilisateur
%th
Date d'envoi
%th
Lien
%thead.tr_content#cerfa
-if @facade.procedure.cerfa_flag?
- if @facade.dossier.cerfa_available?
- @facade.cerfas_ordered.each do |cerfa|
%tr
%td.col-md-6.col-lg-4
= cerfa.user.email
%td.col-md-6.col-lg-4
= cerfa.created_at
%td.col-md-6.col-lg-4
=link_to 'Récupérer', cerfa.content_url, {target: :blank}
- @facade.dossier.types_de_piece_justificative.each do |type_de_piece_justificative|
%tbody.tr_content{id: "type_de_pj_#{type_de_piece_justificative.id}"}
- @facade.dossier.retrieve_all_piece_justificative_by_type(type_de_piece_justificative.id).each do |piece_justificative|
%tr
%td.col-md-6.col-lg-4
= piece_justificative.user.email
%td.col-md-6.col-lg-4
= piece_justificative.created_at
%td.col-md-6.col-lg-4
=link_to 'Récupérer', piece_justificative.content_url, {target: :blank}
.modal-footer
#modalCommentairesDossierParChamp.modal.fade{"tabindex" => -1, "role" => "dialog"}
.modal-dialog{"role" => "document"}

View file

@ -6,4 +6,7 @@
- else
= form_for @facade.dossier, url: {controller: 'backoffice/private_formulaires', action: :update, dossier_id: @facade.dossier.id}, remote: true do
= render partial: '/users/description/champs'
= submit_tag :Enregistrer, {class: 'action', style: 'float: right'}
.row
.col-md-4.col-lg-4
.col-md-4.col-lg-4= submit_tag :Enregistrer, {class: 'btn-action'}
.col-md-4.col-lg-4

View file

@ -1,43 +0,0 @@
#PJmodal.modal.fade{"aria-labelledby" => "myModalLabel", :role => "dialog", :tabindex => "-1"}
.modal-dialog.modal-lg{:role => "document"}
.modal-content
.modal-header
%button.close{"aria-label" => "Close", "data-dismiss" => "modal", :type => "button"}
%span{"aria-hidden" => "true"} ×
%h4#myModalLabel.modal-title
Historique des
%span#PJmodal_title
.modal-body
%table.table
%thead
%th
Utilisateur
%th
Date d'envoi
%th
Lien
%thead.tr_content#cerfa
-if @facade.procedure.cerfa_flag?
- if @facade.dossier.cerfa_available?
- @facade.cerfas_ordered.each do |cerfa|
%tr
%td.col-md-6.col-lg-4
= cerfa.user.email
%td.col-md-6.col-lg-4
= cerfa.created_at
%td.col-md-6.col-lg-4
=link_to 'Récupérer', cerfa.content_url, {target: :blank}
- @facade.dossier.types_de_piece_justificative.each do |type_de_piece_justificative|
%tbody.tr_content{id: "type_de_pj_#{type_de_piece_justificative.id}"}
- @facade.dossier.retrieve_all_piece_justificative_by_type(type_de_piece_justificative.id).each do |piece_justificative|
%tr
%td.col-md-6.col-lg-4
= piece_justificative.user.email
%td.col-md-6.col-lg-4
= piece_justificative.created_at
%td.col-md-6.col-lg-4
=link_to 'Récupérer', piece_justificative.content_url, {target: :blank}
.modal-footer

View file

@ -1,8 +1,8 @@
- if @headers.nil?
-@headers.each do |header|
- unless @headers.nil?
- @headers.each do |header|
.row
%div{class: "type_champ-#{header.type_champ}"}
=render partial: 'users/description/champs/header_section', locals: {libelle: header.libelle, order_place: header.order_place, champs: @champs}
- else
.row
=render partial: 'users/description/champs/header_section', locals: {libelle: 'Dossier', order_place: -1, champs: @champs}
=render partial: 'users/description/champs/header_section', locals: {libelle: 'Dossier', order_place: -1, champs: @champs}

View file

@ -1,64 +1,63 @@
.default_data_block.default_visible
%div.row.show-block#infos
%div.header
%div.col-lg-12.col-md-12.title
%div.carret-right
%div.carret-down
=libelle
%div.body
-champs.each do |champ|
- if champ.order_place > order_place
- if champ.type_champ == 'header_section'
- break
.row
.col-lg-12.col-md-12
.row.title-row
.col-md-4.col-lg-4.split-hr
.col-md-4.col-lg-4.dossier-title= libelle
.col-md-4.col-lg-4.split-hr
.row
.col-lg-4.col-md-4
.col-lg-8.col-md-8
-champs.each do |champ|
- if champ.order_place > order_place
- if champ.type_champ == 'header_section'
- break
- unless champ.type_champ == 'checkbox' || champ.type_champ == 'engagement'
%h4
= champ.libelle
- if champ.mandatory?
= '*'
- unless champ.type_champ == 'checkbox' || champ.type_champ == 'engagement'
%h4
= champ.libelle
- if champ.mandatory?
= '*'
-if champ.type_champ == 'textarea'
=render partial: 'users/description/champs/textarea', locals: {champ: champ}
-if champ.type_champ == 'textarea'
=render partial: 'users/description/champs/textarea', locals: {champ: champ}
-elsif champ.type_champ == 'checkbox'
= render partial: 'users/description/champs/checkbox', locals: {champ: champ}
-elsif champ.type_champ == 'checkbox'
= render partial: 'users/description/champs/checkbox', locals: {champ: champ}
-elsif champ.type_champ == 'civilite'
=render partial: 'users/description/champs/civilite', locals: {champ: champ}
-elsif champ.type_champ == 'civilite'
=render partial: 'users/description/champs/civilite', locals: {champ: champ}
- elsif champ.type_champ == 'datetime'
=render partial: 'users/description/champs/datetime', locals: {champ: champ}
- elsif champ.type_champ == 'datetime'
=render partial: 'users/description/champs/datetime', locals: {champ: champ}
- elsif champ.type_champ == 'yes_no'
=render partial: 'users/description/champs/yes_no', locals: {champ: champ}
- elsif champ.type_champ == 'yes_no'
=render partial: 'users/description/champs/yes_no', locals: {champ: champ}
- elsif champ.type_champ == 'drop_down_list'
=render partial: 'users/description/champs/drop_down_list', locals: {champ: champ}
- elsif champ.type_champ == 'drop_down_list'
=render partial: 'users/description/champs/drop_down_list', locals: {champ: champ}
- elsif champ.type_champ == 'pays'
=render partial: 'users/description/champs/pays', locals: {champ: champ}
- elsif champ.type_champ == 'pays'
=render partial: 'users/description/champs/pays', locals: {champ: champ}
- elsif champ.type_champ == 'regions'
=render partial: 'users/description/champs/regions', locals: {champ: champ}
- elsif champ.type_champ == 'regions'
=render partial: 'users/description/champs/regions', locals: {champ: champ}
- elsif champ.type_champ == 'engagement'
=render partial: 'users/description/champs/engagement', locals: {champ: champ}
- elsif champ.type_champ == 'engagement'
=render partial: 'users/description/champs/engagement', locals: {champ: champ}
- elsif champ.type_champ == 'departements'
=render partial: 'users/description/champs/departements', locals: {champ: champ}
-else
%input.form-control{name:"champs['#{champ.id}']",
placeholder: champ.libelle,
id: "champs_#{champ.id}",
value: champ.value,
type: champ.type_champ,
'data-provide' => champ.data_provide,
'data-date-format' => champ.data_date_format}
- unless champ.description.empty? || champ.type_champ == 'engagement'
.row
.col-lg-8.col-md-8{class: 'description_div', id:"description_champs_#{champ.id}"}
= champ.description
- elsif champ.type_champ == 'departements'
=render partial: 'users/description/champs/departements', locals: {champ: champ}
-else
%input.form-control{name:"champs['#{champ.id}']",
placeholder: champ.libelle,
id: "champs_#{champ.id}",
value: champ.value,
type: champ.type_champ,
'data-provide' => champ.data_provide,
'data-date-format' => champ.data_date_format}
- unless champ.description.empty? || champ.type_champ == 'engagement'
.row
.col-lg-8.col-md-8{class: 'description_div', id:"description_champs_#{champ.id}"}
= champ.description

View file

@ -1,106 +1,2 @@
%div.col-lg-12.col-md-12#users_recapitulatif_dossier_show
.default_data_block
.row.show-block#messages
%div.header
%div.col-lg-10.col-md-10.title
.carret-right
.carret-down
MESSAGES
%div.col-lg-2.col-md-2.count
- message_count = @facade.commentaires.count
= (message_count == 1) ? "1 message" : "#{message_count} messages"
%div.body
- unless @facade.commentaires.empty?
%div.commentaires
- @facade.commentaires.object.sort.each do |commentaire|
= render partial: commentaire
- else
%div.no-commentaires
= t("utils.no-commentaires")
.row
.col-lg-12.col-md-12
%div.split-hr
.row
%div.col-lg-12.col-md-12#new-commentaire
= form_tag(url_for({ controller: 'commentaires', action: :create, dossier_id: @facade.dossier.id, champ_id: @facade.champ_id }), class: 'form-inline', method: 'POST', multipart: true) do
%textarea.form-control{id: 'texte_commentaire', class: 'wysihtml5', name: 'texte_commentaire', style: 'width: 100%; margin-bottom:2%', rows: '5', placeholder:"Commentaire"}
%h4.text-primary{style: 'margin-top: 0px'} Ajouter un fichier
= file_field_tag "piece_justificative[content]", accept: PieceJustificative.accept_format, style: 'float: left; margin-left: 20px'
%input.form-control.btn.btn-send{ type: 'submit', value: 'ENVOYER' }
- if last_comment = @facade.commentaires.first
%div.last-commentaire
.row
%div.col-lg-12.col-md-12.comment-header
= "DERNIER MESSAGE (#{last_comment.header})"
.row
%div.col-lg-12.col-md-12.content
= last_comment.body.html_safe
- if file = last_comment.piece_justificative
.row
%div.col-lg-12.col-md-12.file
= link_to file.content_url, class: 'link', target: '_blank' do
%span.fa.fa-file
%div
= file.original_filename
.row
.col-lg-12.col-md-12
%div.new-action
ENVOYER UN MESSAGE
- if @facade.procedure.individual_with_siret
.default_data_block
%div.row.show-block#infos
%div.header
%div.col-lg-8.col-md-8.title-no-expanse
%div.carret-right
INFORMATIONS ENTREPRISE / ASSOCIATION
%div.col-lg-4.col-md-4.action
%a#add_siret.action{href: users_dossier_add_siret_path(dossier_id: @facade.dossier.id)}
= "Renseigner un SIRET"
- unless @facade.entreprise.nil?
.default_data_block
%div.row.show-block#infos
%div.header
%div.col-lg-12.col-md-12.title
%div.carret-right
%div.carret-down
INFORMATIONS ENTREPRISE / ASSOCIATION
%div.body
= render partial: '/dossiers/infos_entreprise'
.default_data_block
%div.row.show-block#dossier
%div.header
%div.col-lg-10.col-md-10.title
%div.carret-right
%div.carret-down
CONSTRUCTION DU DOSSIER
= render partial: '/dossiers/edit_dossier'
%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
%div.header
%div.col-lg-10.col-md-10.title
%div.carret-right
%div.carret-down
CARTOGRAPHIE
= render partial: '/dossiers/edit_carto'
%div.body
= render partial: '/dossiers/infos_carto'
= render partial: "dossiers/dossier_show"

View file

@ -25,3 +25,5 @@ en:
deconnexion: "Logout"
involved: "See concerned people"
no-commentaires: "There is no message yet, feel free to start the first one."
depositaire: "Dépositaire"
pieces: "Pièces jointes"

View file

@ -24,6 +24,8 @@ fr:
deconnexion: "Déconnexion"
involved: "Voir les personnes impliquées"
no-commentaires: "Il n'y a aucun message dans le fil de discussion, n'hésitez pas à initier le premier."
depositaire: "Dépositaire"
pieces: "Pièces jointes"
will_paginate:
next_label: 'Suivant'
previous_label: 'Précédent'