aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorXinhui2017-10-25 14:42:23 +0200
committerXinhui2017-10-25 14:42:23 +0200
commitf2593e299db59552ee47400622cd9cc77cc3a8d1 (patch)
treed2e93b5852283be49ae1d8767e0d1bf56f82fc45 /config
parent118d1ae0c7ed66f408c5e260126ee553feda57a4 (diff)
downloadchouette-core-f2593e299db59552ee47400622cd9cc77cc3a8d1.tar.bz2
Breadcrumb for timebands
Diffstat (limited to 'config')
-rw-r--r--config/breadcrumbs.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/config/breadcrumbs.rb b/config/breadcrumbs.rb
index 438c8affd..e4bf8bbad 100644
--- a/config/breadcrumbs.rb
+++ b/config/breadcrumbs.rb
@@ -62,6 +62,16 @@ crumb :time_table do |referential, time_table|
parent :time_tables, referential
end
+crumb :timebands do |referential|
+ link I18n.t('timebands.index.title'), referential_timebands_path(referential)
+ parent :referential, referential
+end
+
+crumb :timeband do |referential, timeband|
+ link timeband.name, referential_timeband_path(referential, timeband)
+ parent :timebands, referential
+end
+
crumb :compliance_check_sets do |workbench|
link I18n.t('compliance_check_sets.index.title'), workbench_compliance_check_sets_path(workbench)
parent :workbench, workbench