aboutsummaryrefslogtreecommitdiffstats
path: root/config/breadcrumbs.rb
diff options
context:
space:
mode:
Diffstat (limited to 'config/breadcrumbs.rb')
-rw-r--r--config/breadcrumbs.rb18
1 files changed, 16 insertions, 2 deletions
diff --git a/config/breadcrumbs.rb b/config/breadcrumbs.rb
index babaa2c8c..28a117d52 100644
--- a/config/breadcrumbs.rb
+++ b/config/breadcrumbs.rb
@@ -6,6 +6,11 @@ crumb :workbench do |workbench|
link workbench.name, workbench_path(workbench)
end
+crumb :workbench_configure do |workbench|
+ link I18n.t('workbenches.edit.title'), edit_workbench_path(workbench)
+ parent :workbench, workbench
+end
+
crumb :workbench_output do |workbench|
link I18n.t('workbench_outputs.show.title'), workbench_output_path(workbench)
parent :workbench, mutual_workbench(workbench)
@@ -121,6 +126,16 @@ crumb :import do |workbench, import|
parent :imports, workbench
end
+crumb :netex_import do |workbench, netex_import|
+ link breadcrumb_name(netex_import), workbench_import_path(workbench, netex_import)
+ parent :import, workbench, netex_import.parent
+end
+
+crumb :gtfs_import do |workbench, gtfs_import|
+ link breadcrumb_name(gtfs_import), workbench_import_path(workbench, gtfs_import)
+ parent :import, workbench, gtfs_import.parent
+end
+
crumb :export do |workbench, export|
link breadcrumb_name(export), workbench_export_path(workbench, export)
parent :exports, workbench
@@ -160,7 +175,6 @@ end
crumb :stop_areas do |stop_area_referential|
link I18n.t('stop_areas.index.title'), stop_area_referential_stop_areas_path(stop_area_referential)
- parent :stop_area_referential, stop_area_referential
end
crumb :stop_area do |stop_area_referential, stop_area|
@@ -273,7 +287,7 @@ crumb :vehicle_journeys do |referential, route|
end
crumb :workgroup do |w|
- link I18n.t('layouts.navbar.workbench_outputs.edit_workgroup')
+ link I18n.t('workgroups.edit.title')
end
# crumb :compliance_controls do|compliance_control_sets|