diff options
| -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> |
