2016-07-18 18:48:59 +02:00
|
|
|
%h3 Fichiers des commentaires
|
|
|
|
|
|
|
|
%br
|
|
|
|
- if @facade.commentaires_files.size > 0
|
|
|
|
%table.table
|
|
|
|
%thead
|
2016-12-23 16:58:06 +01:00
|
|
|
%th.col-md-3.col-sm-3.col-xs-3
|
2016-07-18 18:48:59 +02:00
|
|
|
Email
|
2016-12-23 16:58:06 +01:00
|
|
|
%th.col-md-2.col-sm-2.col-xs-2
|
2016-07-18 18:48:59 +02:00
|
|
|
Date
|
2016-12-23 16:58:06 +01:00
|
|
|
%th.col-md-6.col-sm-6.col-xs-6
|
2016-07-18 18:48:59 +02:00
|
|
|
Fichier
|
|
|
|
|
|
|
|
|
|
|
|
- @facade.commentaires_files.each do |file|
|
|
|
|
%tr
|
|
|
|
%td= file.user.nil? ? 'Accompagnateur' : file.user.email
|
|
|
|
%td= file.created_at.localtime
|
|
|
|
%td= link_to file.original_filename, file.content_url, style:'color: green', target: '_blank'
|
|
|
|
- else
|
|
|
|
%h4.text-primary
|
|
|
|
Pas de fichier dans le flux de commentaires.
|
|
|
|
|