diff options
| author | Xinhui | 2017-10-20 15:02:35 +0200 |
|---|---|---|
| committer | Xinhui | 2017-10-20 15:05:08 +0200 |
| commit | fccf690adb8769dc5050fa231a961b5e48146848 (patch) | |
| tree | ce125832d5e75e5bf30c21cc13f9fd1a78bc082d /app/views | |
| parent | bdeb36005106c099ee3fa831604082ef9df2f27c (diff) | |
| download | chouette-core-fccf690adb8769dc5050fa231a961b5e48146848.tar.bz2 | |
Breadcrumb for journey_patterns
Diffstat (limited to 'app/views')
| -rw-r--r-- | app/views/journey_patterns_collections/show.html.slim | 5 | ||||
| -rw-r--r-- | app/views/routes/edit.html.slim | 2 | ||||
| -rw-r--r-- | app/views/routes/show.html.slim | 2 |
3 files changed, 5 insertions, 4 deletions
diff --git a/app/views/journey_patterns_collections/show.html.slim b/app/views/journey_patterns_collections/show.html.slim index 8c0950536..7c62b69ee 100644 --- a/app/views/journey_patterns_collections/show.html.slim +++ b/app/views/journey_patterns_collections/show.html.slim @@ -1,3 +1,4 @@ +- breadcrumb :journey_patterns, @referential, @route / pageheader = pageheader 'mission', "Missions de #{@route.try(:stop_points).first.try(:stop_area).name} vers #{@route.try(:stop_points).last.try(:stop_area).name}", @@ -5,8 +6,8 @@ '' - @journey_patterns.each do |jp| - jp.errors.each do |error_message| - = error_message - + = error_message + / PageContent .page_content .container-fluid diff --git a/app/views/routes/edit.html.slim b/app/views/routes/edit.html.slim index 12276b64c..a69c5aeff 100644 --- a/app/views/routes/edit.html.slim +++ b/app/views/routes/edit.html.slim @@ -1,4 +1,4 @@ -- breadcrumb :route, @referential, @line, @route +- breadcrumb :route, @referential, @route / PageHeader = pageheader 'itineraire', @route.name, diff --git a/app/views/routes/show.html.slim b/app/views/routes/show.html.slim index c8fbdfe16..1411a5502 100644 --- a/app/views/routes/show.html.slim +++ b/app/views/routes/show.html.slim @@ -1,4 +1,4 @@ -- breadcrumb :route, @referential, @line, @route +- breadcrumb :route, @referential, @route / PageHeader = pageheader 'itineraire', t('routes.index.title', route: @route.name), |
