This commit is contained in:
Christophe Robillard 2020-03-24 13:53:15 +01:00
parent fcfa19a4aa
commit 78fcdd42a6
2 changed files with 5 additions and 3 deletions

View file

@ -84,7 +84,7 @@ module DossierHelper
end
def status_badge(state)
status_text = state.tr('_', ' ')
status_text = dossier_display_state(state, lower: true)
status_class = state.tr('_', '-')
content_tag(:span, status_text, class: "label #{status_class} ")
end