instructeur: show deleted dossiers for a procedure

This commit is contained in:
Christophe Robillard 2020-03-20 17:59:16 +01:00
parent bce2f92d2c
commit b4b92accf1
8 changed files with 116 additions and 0 deletions

View file

@ -83,6 +83,12 @@ module DossierHelper
end
end
def status_badge(state)
status_text = state.tr('_', ' ')
status_class = state.tr('_', '-')
content_tag(:span, status_text, class: "label #{status_class} ")
end
private
def dinum_instance?