Add commentaire joined files (pieces justificatives) direct into messages block

This commit is contained in:
JC 2016-11-25 15:01:03 +01:00
parent d974040540
commit f978455642
3 changed files with 17 additions and 1 deletions

View file

@ -30,6 +30,16 @@
font-size: 16px;
font-weight: bold;
}
.file {
padding-right: 70px;
text-align: center;
.link {
span {
width: 100%;
font-size: 40px;
}
}
}
}
.split-hr {
margin: 20px 20px 0 20px;

View file

@ -5,3 +5,10 @@
.row
%div.col-lg-12.col-md-12.content
= commentaire.body.html_safe
- if file = commentaire.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

View file

@ -56,7 +56,6 @@
EDITER
%div.body
- if false
%h1#dossier_id.text-info{ :style => 'text-align:right'}
= t('dynamics.dossiers.numéro') + @facade.dossier.id.to_s