diff options
| -rw-r--r-- | app/helpers/referentials_helper.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/helpers/referentials_helper.rb b/app/helpers/referentials_helper.rb index d9fb48d01..01e5a5879 100644 --- a/app/helpers/referentials_helper.rb +++ b/app/helpers/referentials_helper.rb @@ -1,5 +1,6 @@ module ReferentialsHelper - # Line statuses helper + # Outputs a green check icon and the text "Oui" or a red exclamation mark + # icon and the text "Non" based on `status` def line_status(status) if status content_tag(:span, nil, class: 'fa fa-exclamation-circle fa-lg text-danger') + |
