diff options
| author | Zog | 2018-02-23 16:32:35 +0100 |
|---|---|---|
| committer | Zog | 2018-02-23 16:32:35 +0100 |
| commit | 0a91ae5d80e476f967160e1987cc7e63beabea94 (patch) | |
| tree | 537230f36225698bfb45caf97490304a6dbb57c1 /config | |
| parent | 206bf218e1b84dbe53683ec2e3f983cd30f7ded1 (diff) | |
| download | chouette-core-0a91ae5d80e476f967160e1987cc7e63beabea94.tar.bz2 | |
Refs 5878; Add ComplianceCheck#show
Diffstat (limited to 'config')
| -rw-r--r-- | config/breadcrumbs.rb | 5 | ||||
| -rw-r--r-- | config/locales/compliance_checks.en.yml | 4 | ||||
| -rw-r--r-- | config/locales/compliance_checks.fr.yml | 5 |
3 files changed, 13 insertions, 1 deletions
diff --git a/config/breadcrumbs.rb b/config/breadcrumbs.rb index 00ccf16bd..d2b205baa 100644 --- a/config/breadcrumbs.rb +++ b/config/breadcrumbs.rb @@ -96,6 +96,11 @@ crumb :compliance_check_set do |workbench, compliance_check_set| parent :compliance_check_sets, workbench end +crumb :compliance_check do |workbench, compliance_check| + link breadcrumb_name(compliance_check), workbench_compliance_check_set_compliance_check_path(workbench, compliance_check.compliance_check_set, compliance_check) + parent :compliance_check_set, compliance_check.compliance_check_set, workbench +end + crumb :compliance_check_set_executed do |workbench, compliance_check_set| link I18n.t('compliance_check_sets.executed.title', name: compliance_check_set.name), executed_workbench_compliance_check_set_path(workbench, compliance_check_set) parent :compliance_check_sets, workbench diff --git a/config/locales/compliance_checks.en.yml b/config/locales/compliance_checks.en.yml index 177c87852..f960755da 100644 --- a/config/locales/compliance_checks.en.yml +++ b/config/locales/compliance_checks.en.yml @@ -8,3 +8,7 @@ en: subclass: Object criticity: Severity name: Name + show: + title: "Compliance check" + metadatas: + compliance_control_block: "Control block informations" diff --git a/config/locales/compliance_checks.fr.yml b/config/locales/compliance_checks.fr.yml index d11d37003..041ab4f43 100644 --- a/config/locales/compliance_checks.fr.yml +++ b/config/locales/compliance_checks.fr.yml @@ -11,4 +11,7 @@ fr: subclass: Objet criticity: Criticité name: Nom - + show: + title: "Consulter un contrôle" + metadatas: + compliance_control_block: "Informations sur le groupe de contrôle" |
