Gui improvements and ideas

This commit is contained in:
david 2024-07-20 16:52:12 +02:00
parent 3f4c7d17bf
commit 2ae0b55e42
54 changed files with 639 additions and 237 deletions

View file

@ -1,2 +1,13 @@
module SuccessCriteriaHelper
def success_criterion_result_icon_classes(sc)
if sc.passed?
'bi bi-check text-success'
elsif sc.failed?
'bi bi-exclamation-lg text-danger'
elsif sc.not_applicable?
'bi bi-dash text-muted'
else
'bi bi-question text-warning'
end
end
end