diff options
Diffstat (limited to 'app/helpers/breadcrumb_helper.rb')
| -rw-r--r-- | app/helpers/breadcrumb_helper.rb | 10 | 
1 files changed, 3 insertions, 7 deletions
| diff --git a/app/helpers/breadcrumb_helper.rb b/app/helpers/breadcrumb_helper.rb index a382f1926..3a742d0dc 100644 --- a/app/helpers/breadcrumb_helper.rb +++ b/app/helpers/breadcrumb_helper.rb @@ -216,14 +216,10 @@ module BreadcrumbHelper    end    def import_breadcrumb (action) -    referential_breadcrumb -    add_breadcrumb Referential.human_attribute_name("imports"), referential_imports_path(@referential) unless action == :index - -    add_breadcrumb @import.name, referential_import_path(@referential, @import.id) if @import - -    #add_breadcrumb @rule_parameter_set.import.name, compliance_check_referential_import_path(@referential, @rule_parameter_set.import.id) if action == :rule_parameter_set +    add_breadcrumb I18n.t("breadcrumbs.referentials"), referentials_path +    add_breadcrumb breadcrumb_label(@workbench), workbench_path(@workbench), :title => breadcrumb_tooltip(@workbench) +    add_breadcrumb I18n.t("breadcrumbs.imports"), workbench_imports_path(@workbench) -    #add_breadcrumb "Tests de conformité", compliance_check_referential_import_path(@referential, @compliance_check.id) if @compliance_check    end    def export_breadcrumb (action) | 
