diff options
| author | Zakaria BOUZIANE | 2014-12-08 10:35:01 +0100 | 
|---|---|---|
| committer | Zakaria BOUZIANE | 2014-12-08 10:35:01 +0100 | 
| commit | 51dcdcf56f98618b6b1113e003f07ccf76c27b12 (patch) | |
| tree | a294c6f0e85710e783fc96c50d91047b966f418e /config | |
| parent | ea4ce777eb198c374951bc23a2950d3cf3babbdc (diff) | |
| download | chouette-core-51dcdcf56f98618b6b1113e003f07ccf76c27b12.tar.bz2 | |
Compliance check report in ZIP file
Diffstat (limited to 'config')
| -rw-r--r-- | config/locales/compliance_check_results.yml | 26 | ||||
| -rw-r--r-- | config/routes.rb | 3 | 
2 files changed, 7 insertions, 22 deletions
diff --git a/config/locales/compliance_check_results.yml b/config/locales/compliance_check_results.yml index 808db4efa..5308b5ac4 100644 --- a/config/locales/compliance_check_results.yml +++ b/config/locales/compliance_check_results.yml @@ -260,19 +260,10 @@ en:          rule_target: "Object"          rule_number: "Step"          rule_code: "Code" -        violation_count: "Violation(s)" +        violation_count: "Number of violations"          detail: "Detail"          url: "URL" -        one: "Violation n° 1" -        two: "Violation n° 2" -        three: "Violation n° 3" -        four: "Violation n° 4" -        five: "Violation n° 5" -        six: "Violation n° 6" -        seven: "Violation n° 7" -        eight: "Violation n° 8" -        nine: "Violation n° 9" -        ten: "Violation n° 10" +        first_violations: "First violations"  fr:    compliance_check_results:      index: @@ -533,17 +524,8 @@ fr:          rule_target: "Objet"          rule_number: "Etape"          rule_code: "Code" -        violation_count: "Violation(s)" +        violation_count: "Nombre de violations"          detail: "Détail"          url: "URL" -        one: "Violation n° 1" -        two: "Violation n° 2" -        three: "Violation n° 3" -        four: "Violation n° 4" -        five: "Violation n° 5" -        six: "Violation n° 6" -        seven: "Violation n° 7" -        eight: "Violation n° 8" -        nine: "Violation n° 9" -        ten: "Violation n° 10" +        first_violations: "Premières  violations" diff --git a/config/routes.rb b/config/routes.rb index f629a963f..057a9bb90 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -134,6 +134,9 @@ ChouetteIhm::Application.routes.draw do      end      resources :compliance_check_tasks do        member do +        get 'export', defaults: { format: 'zip' } +      end +      member do          get 'rule_parameter_set'        end        collection do  | 
