Merge pull request #2034 from betagouv/useless-file

Remove an unused file
This commit is contained in:
gregoirenovel 2018-06-01 17:11:59 +02:00 committed by GitHub
commit 55d71e53e6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,22 +0,0 @@
%h3 Fichiers des commentaires
%br
- if @facade.commentaires_files.size > 0
%table.table
%thead
%th.col-md-3.col-sm-3.col-xs-3
Email
%th.col-md-2.col-sm-2.col-xs-2
Date
%th.col-md-6.col-sm-6.col-xs-6
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.