diff options
| author | Zog | 2018-03-16 14:45:33 +0100 | 
|---|---|---|
| committer | Johan Van Ryseghem | 2018-03-27 15:06:12 +0200 | 
| commit | 3113be35a74d1d3eddda80d976ef3e8c22e3f51b (patch) | |
| tree | a6070231d80c2ccda923db09d21f324fa835b3e0 | |
| parent | 54401ef8b7c61e5a440a1d2b958e78d2ba0bd236 (diff) | |
| download | chouette-core-3113be35a74d1d3eddda80d976ef3e8c22e3f51b.tar.bz2 | |
Refs #6181; Add shortcuts on VJs editor
| -rw-r--r-- | app/views/vehicle_journeys/index.html.slim | 12 | 
1 files changed, 7 insertions, 5 deletions
| diff --git a/app/views/vehicle_journeys/index.html.slim b/app/views/vehicle_journeys/index.html.slim index d23c61394..b2716a809 100644 --- a/app/views/vehicle_journeys/index.html.slim +++ b/app/views/vehicle_journeys/index.html.slim @@ -1,10 +1,12 @@  - 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_content do -    .row.mb-sm -     .col-lg-12.text-right -       = link_to(t('routes.actions.opposite_route_timetable'), [@referential, @route.line, @route.opposite_route, :vehicle_journeys], class: 'btn btn-primary sticky-action') +- content_for :page_header_content do +  .row.mb-sm +    .col-lg-12.text-right +      = link_to I18n.t("time_tables.index.title"), [@referential, :time_tables], class: 'btn btn-primary sticky-action', target: :blank +      = link_to I18n.t("purchase_windows.index.title"), [@referential, :purchase_windows], class: 'btn btn-primary sticky-action', target: :blank +      - if @route.opposite_route.present? +        = link_to(t('routes.actions.opposite_route_timetable'), [@referential, @route.line, @route.opposite_route, :vehicle_journeys], class: 'btn btn-primary sticky-action')  .page_content | 
