diff options
| -rw-r--r-- | app/helpers/breadcrumb_helper.rb | 10 | ||||
| -rw-r--r-- | config/locales/breadcrumbs.fr.yml | 2 | 
2 files changed, 6 insertions, 6 deletions
| diff --git a/app/helpers/breadcrumb_helper.rb b/app/helpers/breadcrumb_helper.rb index a3ee9de72..da1f270ab 100644 --- a/app/helpers/breadcrumb_helper.rb +++ b/app/helpers/breadcrumb_helper.rb @@ -75,13 +75,13 @@ module BreadcrumbHelper    end    def calendar_breadcrumb(action) -    add_breadcrumb I18n.t('breadcrumbs.referentials'), workbenches_path +    add_breadcrumb I18n.t('breadcrumbs.root'), root_path      add_breadcrumb I18n.t('calendars.index.title'), calendars_path      add_breadcrumb @calendar.name if %i(show edit).include? action    end    def workbench_breadcrumb(action) -    add_breadcrumb I18n.t("breadcrumbs.referentials"), workbenches_path +    add_breadcrumb I18n.t("breadcrumbs.root"), root_path      add_breadcrumb breadcrumb_label(@workbench), workbench_path(@workbench), :title => breadcrumb_tooltip(@workbench)    end @@ -217,7 +217,7 @@ module BreadcrumbHelper    end    def import_breadcrumb (action) -    add_breadcrumb I18n.t("breadcrumbs.referentials"), workbenches_path +    add_breadcrumb I18n.t("breadcrumbs.root"), root_path      add_breadcrumb breadcrumb_label(@workbench), workbench_path(@workbench), :title => breadcrumb_tooltip(@workbench)      add_breadcrumb I18n.t("breadcrumbs.imports"), workbench_imports_path(@workbench) @@ -242,7 +242,7 @@ module BreadcrumbHelper    end    def compliance_control_sets_breadcrumb (action) -    add_breadcrumb I18n.t("breadcrumbs.referentials"), workbenches_path +    add_breadcrumb I18n.t("breadcrumbs.root"), root_path      #add_breadcrumb breadcrumb_label(@workbench), workbench_path(@workbench), :title => breadcrumb_tooltip(@workbench)    end @@ -264,7 +264,7 @@ module BreadcrumbHelper    end    def organisation_breadcrumb (action = :index) -    add_breadcrumb I18n.t("breadcrumbs.referentials"), workbenches_path +    add_breadcrumb I18n.t("breadcrumbs.root"), root_path      add_breadcrumb breadcrumb_label(@organisation), organisation_path,:title => breadcrumb_tooltip(@organisation) unless action == :index    end diff --git a/config/locales/breadcrumbs.fr.yml b/config/locales/breadcrumbs.fr.yml index b941138c7..725549f14 100644 --- a/config/locales/breadcrumbs.fr.yml +++ b/config/locales/breadcrumbs.fr.yml @@ -2,6 +2,6 @@ fr:    breadcrumbs:      vehicle_journeys: "Horaires"      vehicle_journey_frequencies: "Créneaux horaires" -    referentials: "Accueil" +    root: "Accueil"      users: "Utilisateurs"      imports: Imports | 
