diff options
| author | Luc Donnet | 2015-05-22 16:42:32 +0200 |
|---|---|---|
| committer | Luc Donnet | 2015-05-22 16:42:32 +0200 |
| commit | 7c0fca1d2b26f6a86e93163cbf674f94254c49a8 (patch) | |
| tree | 34027415941cd925a7487d8428f64c678a955ae8 | |
| parent | a75a3555531da7e4bbe486f3ce7d14778fc038fa (diff) | |
| download | chouette-core-7c0fca1d2b26f6a86e93163cbf674f94254c49a8.tar.bz2 | |
Fix test for links in compliance check show
| -rw-r--r-- | app/views/compliance_checks/show.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/compliance_checks/show.html.erb b/app/views/compliance_checks/show.html.erb index 68be4e57d..da544a4b3 100644 --- a/app/views/compliance_checks/show.html.erb +++ b/app/views/compliance_checks/show.html.erb @@ -11,7 +11,7 @@ </div> <div class="compliance_check show"> <div class="links"> - <%= link_to font_awesome_classic_tag("fa-external-link") + t("compliance_checks.actions.report"), report_referential_compliance_check_path(@referential, @compliance_check.id) if @compliance_check.report? %> + <%= link_to font_awesome_classic_tag("fa-external-link") + t("compliance_checks.actions.report"), report_referential_compliance_check_path(@referential, @compliance_check.id) if @compliance_check.compliance_check_validation_report? %> </div> <%= render( :partial => "shared/ie_report.html", :locals => { :referential => @referential, :job => @compliance_check} ) %> </div> |
