fix(spec): scope out time as reference for time comparission, hope not a matter of precision
This commit is contained in:
parent
f1293814a3
commit
a74ca8ad39
3 changed files with 13 additions and 4 deletions
|
@ -11,7 +11,7 @@
|
|||
.rich-text= pretty_commentaire(commentaire)
|
||||
|
||||
.message-extras.flex.justify-start
|
||||
- if commentaire.sent_by?(connected_user) && commentaire.sent_by_instructeur? && commentaire.deleted_at.nil?
|
||||
- if commentaire.soft_deletable?(connected_user)
|
||||
= button_to instructeur_commentaire_path(commentaire.dossier.procedure, commentaire.dossier, commentaire), method: :delete, class: 'button danger', data: { confirm: t('views.shared.commentaires.destroy.confirm') } do
|
||||
%span.icon.delete
|
||||
= t('views.shared.commentaires.destroy.button')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue