diff options
| author | anicet | 2015-06-10 13:03:16 +0200 |
|---|---|---|
| committer | anicet | 2015-06-16 10:42:24 +0200 |
| commit | ce742caeb4c939f95e25cd0e0ac9f7a64ffe129c (patch) | |
| tree | 3a304521828aec966b7220a0f9b4c6b342dd8291 | |
| parent | bc440d763db8747fa228c68f9b6043ae8a4a4743 (diff) | |
| download | chouette-core-ce742caeb4c939f95e25cd0e0ac9f7a64ffe129c.tar.bz2 | |
Compliance Checks : add link to validation in report view
| -rw-r--r-- | app/views/compliance_checks/report.html.erb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/compliance_checks/report.html.erb b/app/views/compliance_checks/report.html.erb index 67b5206e6..33bea4ffd 100644 --- a/app/views/compliance_checks/report.html.erb +++ b/app/views/compliance_checks/report.html.erb @@ -2,7 +2,8 @@ <div class="compliance_check_show"> <div class="links"> - <% if @compliance_check.class == Import %> + <%= link_to(font_awesome_classic_tag('fa-eye') + t("compliance_checks.index.title"), referential_compliance_check_path(@referential, @compliance_check.id)) %> + <% if @compliance_check.class == Import %> <%= link_to font_awesome_classic_tag("fa-external-link") + t("compliance_checks.rule_parameter_set"), rule_parameter_set_referential_import_path(@referential, @compliance_check.id) if @compliance_check.rule_parameter_set? %> <% else %> <%= link_to font_awesome_classic_tag("fa-external-link") + t("compliance_checks.rule_parameter_set"), rule_parameter_set_referential_compliance_check_path(@referential, @compliance_check.id) if @compliance_check.rule_parameter_set? %> |
