diff options
| author | Zog | 2017-12-21 11:14:23 +0100 |
|---|---|---|
| committer | Zog | 2017-12-21 11:46:45 +0100 |
| commit | 4eadd762a0005e3e452aa757495e02dc244db3dc (patch) | |
| tree | 4c191dee79e979c81939acb276852e9dcb2c4eb8 /app | |
| parent | 38ba7259702dccc5e2ee225e33a0c5390b2ad418 (diff) | |
| download | chouette-core-4eadd762a0005e3e452aa757495e02dc244db3dc.tar.bz2 | |
Refs #5355 @0.5h; Add opposite route button on timetables
Diffstat (limited to 'app')
| -rw-r--r-- | app/views/vehicle_journeys/index.html.slim | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/views/vehicle_journeys/index.html.slim b/app/views/vehicle_journeys/index.html.slim index 52c1a9728..f9df1f30c 100644 --- a/app/views/vehicle_journeys/index.html.slim +++ b/app/views/vehicle_journeys/index.html.slim @@ -1,5 +1,9 @@ - breadcrumb :vehicle_journeys, @referential, @route - content_for :page_header_title, t('vehicle_journeys.index.title', route: @route.name) +- if @route.opposite_route.present? + - content_for :page_header_actions do + = link_to(t('routes.actions.opposite_route_timetable'), [@referential, @route.line, @route.opposite_route, :vehicle_journeys], class: 'btn btn-default') + .page_content .container-fluid |
