style(demande): modification date as badge
This commit is contained in:
parent
9811d666b2
commit
25015a8b8b
3 changed files with 11 additions and 4 deletions
|
@ -11,7 +11,7 @@
|
|||
|
||||
- if updated_after_deposer?(champ)
|
||||
%p.fr-mb-0.fr-text--sm
|
||||
%span{ class: highlight_if_unseen_class(@demande_seen_at, champ.updated_at) }
|
||||
%span.fr-badge.fr-badge--sm{ class: badge_class_if_unseen(@demande_seen_at, champ.updated_at) }
|
||||
= t(:updated_at, scope: [:views, :shared, :dossiers, :form], datetime: try_format_datetime(champ.updated_at))
|
||||
|
||||
- if champ.blank?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue