aboutsummaryrefslogtreecommitdiffstats
path: root/config/breadcrumbs.rb
diff options
context:
space:
mode:
Diffstat (limited to 'config/breadcrumbs.rb')
-rw-r--r--config/breadcrumbs.rb25
1 files changed, 24 insertions, 1 deletions
diff --git a/config/breadcrumbs.rb b/config/breadcrumbs.rb
index e60ff187f..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
@@ -131,6 +146,11 @@ crumb :import_resources do |import, import_resources|
parent :import, import.workbench, import.parent
end
+crumb :import_resource do |import_resource|
+ link I18n.t('import.resources.index.title'), workbench_import_import_resource_path(import_resource.root_import.workbench, import_resource.root_import, import_resource)
+ parent :import, import_resource.root_import.workbench, import_resource.root_import
+end
+
crumb :organisation do |organisation|
link breadcrumb_name(organisation), organisation_path(organisation)
end
@@ -155,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|
@@ -267,6 +286,10 @@ crumb :vehicle_journeys do |referential, route|
parent :route, referential, route
end
+crumb :workgroup do |w|
+ link I18n.t('workgroups.edit.title')
+end
+
# crumb :compliance_controls do|compliance_control_sets|
# link
# parent :compliance_control_sets, compliance_control_sets