cosmetics
Some checks failed
/ Run tests (push) Failing after 15s
/ Run system tests (push) Failing after 15s
/ Build, push and deploy image (push) Has been skipped

This commit is contained in:
david 2024-10-26 03:17:51 +02:00
parent bd22ad2852
commit 2d95db5d52
6 changed files with 56 additions and 36 deletions

View file

@ -99,4 +99,8 @@ class Check < ApplicationRecord
def display_applicabilities
%i[applicable_to_analogue applicable_to_app applicable_to_document applicable_to_non_web applicable_to_web].select { |a| send(:"#{a}?") }.map { |a| I18n.t("applicability.#{a}") }.join(", ")
end
def display_label
"#{name_de} (#{[number, external_number].compact_blank.join("/")})"
end
end