diff options
| author | Xinhui | 2017-10-20 11:59:50 +0200 |
|---|---|---|
| committer | Xinhui | 2017-10-20 15:02:54 +0200 |
| commit | 8d59f83d7e0cc84f44101d8ad4b9d0d9f452df9a (patch) | |
| tree | d1c14711c79090dc0d782cf5ac978faeb7adecc8 /app | |
| parent | 4b1327518597ac057e03e7670fb2e1fc75974c36 (diff) | |
| download | chouette-core-8d59f83d7e0cc84f44101d8ad4b9d0d9f452df9a.tar.bz2 | |
Breadcrumb for referential_lines - routing_constraint_zones
Diffstat (limited to 'app')
| -rw-r--r-- | app/controllers/referential_lines_controller.rb | 2 | ||||
| -rw-r--r-- | app/controllers/routing_constraint_zones_controller.rb | 4 | ||||
| -rw-r--r-- | app/views/line_footnotes/show.html.slim | 3 | ||||
| -rw-r--r-- | app/views/referential_lines/edit.html.slim | 3 | ||||
| -rw-r--r-- | app/views/referential_lines/show.html.slim | 1 | ||||
| -rw-r--r-- | app/views/routing_constraint_zones/edit.html.slim | 1 | ||||
| -rw-r--r-- | app/views/routing_constraint_zones/index.html.slim | 1 | ||||
| -rw-r--r-- | app/views/routing_constraint_zones/new.html.slim | 1 | ||||
| -rw-r--r-- | app/views/routing_constraint_zones/show.html.slim | 1 |
9 files changed, 9 insertions, 8 deletions
diff --git a/app/controllers/referential_lines_controller.rb b/app/controllers/referential_lines_controller.rb index ec0bbbb18..b9f8c0050 100644 --- a/app/controllers/referential_lines_controller.rb +++ b/app/controllers/referential_lines_controller.rb @@ -44,8 +44,6 @@ class ReferentialLinesController < ChouetteController current_organisation: current_organisation } ) - - build_breadcrumb :show end end diff --git a/app/controllers/routing_constraint_zones_controller.rb b/app/controllers/routing_constraint_zones_controller.rb index 78cd0e209..6c3da5980 100644 --- a/app/controllers/routing_constraint_zones_controller.rb +++ b/app/controllers/routing_constraint_zones_controller.rb @@ -20,8 +20,6 @@ class RoutingConstraintZonesController < ChouetteController line: parent } ) - - build_breadcrumb :index end end @@ -31,8 +29,6 @@ class RoutingConstraintZonesController < ChouetteController referential: referential, line: parent }) - - build_breadcrumb :show end end diff --git a/app/views/line_footnotes/show.html.slim b/app/views/line_footnotes/show.html.slim index 8138c1383..0ed1d2958 100644 --- a/app/views/line_footnotes/show.html.slim +++ b/app/views/line_footnotes/show.html.slim @@ -1,3 +1,4 @@ +- breadcrumb :line_footnotes, @referential, @line / PageHeader = pageheader 'ligne', "Notes sur la ligne #{@line.name}", @@ -22,4 +23,4 @@ - else = replacement_msg 'Aucune note ne correspond à votre recherche' - + diff --git a/app/views/referential_lines/edit.html.slim b/app/views/referential_lines/edit.html.slim index 0036d023b..8c51715ba 100644 --- a/app/views/referential_lines/edit.html.slim +++ b/app/views/referential_lines/edit.html.slim @@ -1,3 +1,4 @@ +- breadcrumb :referential_line, @line, @referential = title_tag t('lines.edit.title', line: @line.name) -= render 'form'
\ No newline at end of file += render 'form' diff --git a/app/views/referential_lines/show.html.slim b/app/views/referential_lines/show.html.slim index df3c285ee..0ef548e89 100644 --- a/app/views/referential_lines/show.html.slim +++ b/app/views/referential_lines/show.html.slim @@ -1,3 +1,4 @@ +- breadcrumb :referential_line, @referential, @line / PageHeader = pageheader 'ligne', t('lines.index.line', line: @line.name), diff --git a/app/views/routing_constraint_zones/edit.html.slim b/app/views/routing_constraint_zones/edit.html.slim index 2c23344df..c9b9b0c41 100644 --- a/app/views/routing_constraint_zones/edit.html.slim +++ b/app/views/routing_constraint_zones/edit.html.slim @@ -1,3 +1,4 @@ +- breadcrumb :routing_constraint_zone, @referential, @line, @routing_constraint_zone / PageHeader = pageheader 'itl', t('.title', routing_constraint_zone: @routing_constraint_zone.name), diff --git a/app/views/routing_constraint_zones/index.html.slim b/app/views/routing_constraint_zones/index.html.slim index 4e2534b6a..ddad7723e 100644 --- a/app/views/routing_constraint_zones/index.html.slim +++ b/app/views/routing_constraint_zones/index.html.slim @@ -1,3 +1,4 @@ +- breadcrumb :routing_constraint_zones, @referential, @line / PageHeader = pageheader 'itl', t('routing_constraint_zones.index.title'), diff --git a/app/views/routing_constraint_zones/new.html.slim b/app/views/routing_constraint_zones/new.html.slim index 1ed65335f..d15de13a4 100644 --- a/app/views/routing_constraint_zones/new.html.slim +++ b/app/views/routing_constraint_zones/new.html.slim @@ -1,3 +1,4 @@ +- breadcrumb :routing_constraint_zones, @referential, @line / PageHeader = pageheader 'itl', t('.title') diff --git a/app/views/routing_constraint_zones/show.html.slim b/app/views/routing_constraint_zones/show.html.slim index dbd8464a0..d0c0619c3 100644 --- a/app/views/routing_constraint_zones/show.html.slim +++ b/app/views/routing_constraint_zones/show.html.slim @@ -1,3 +1,4 @@ +- breadcrumb :routing_constraint_zone, @referential, @line, @routing_constraint_zone / PageHeader = pageheader 'itl', @routing_constraint_zone.name, |
