Merge pull request #9400 from demarches-simplifiees/bug-close-depubliee
fix: display close when procedure depubliee
This commit is contained in:
commit
693f01c5c0
1 changed files with 2 additions and 2 deletions
|
@ -55,11 +55,11 @@
|
|||
|
||||
.text-right
|
||||
%p.fr-mb-0.width-max-content N° #{number_with_html_delimiter(procedure.id)}
|
||||
- if procedure.close?
|
||||
- if procedure.close? || procedure.depubliee?
|
||||
%span.fr-badge.fr-badge--sm.fr-badge--warning
|
||||
= t('closed', scope: [:layouts, :breadcrumb])
|
||||
|
||||
- elsif procedure.locked?
|
||||
- elsif procedure.publiee?
|
||||
%span.fr-badge.fr-badge--sm.fr-badge--success
|
||||
= t('published', scope: [:layouts, :breadcrumb])
|
||||
|
||||
|
|
Loading…
Reference in a new issue