aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuc Donnet2015-05-22 16:42:32 +0200
committerLuc Donnet2015-05-22 16:42:32 +0200
commit7c0fca1d2b26f6a86e93163cbf674f94254c49a8 (patch)
tree34027415941cd925a7487d8428f64c678a955ae8
parenta75a3555531da7e4bbe486f3ce7d14778fc038fa (diff)
downloadchouette-core-7c0fca1d2b26f6a86e93163cbf674f94254c49a8.tar.bz2
Fix test for links in compliance check show
-rw-r--r--app/views/compliance_checks/show.html.erb2
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>