diff options
| author | Luc Donnet | 2016-11-20 16:42:38 +0100 | 
|---|---|---|
| committer | Luc Donnet | 2016-11-20 16:42:38 +0100 | 
| commit | c78b4848f74418ab3fe2e85c1d71c3c702962125 (patch) | |
| tree | 2c74f30522569ad2e4024a18f29e1abbeed73b84 | |
| parent | 033676f30c687002aadb9555a3bd6c71fadd5b27 (diff) | |
| download | chouette-core-c78b4848f74418ab3fe2e85c1d71c3c702962125.tar.bz2 | |
Delete unused links for route show
| -rw-r--r-- | app/views/routes/show.html.slim | 10 | 
1 files changed, 5 insertions, 5 deletions
| diff --git a/app/views/routes/show.html.slim b/app/views/routes/show.html.slim index 968fc5795..cfd71e16a 100644 --- a/app/views/routes/show.html.slim +++ b/app/views/routes/show.html.slim @@ -83,14 +83,14 @@ p.after_map      - if @route.stop_points.size >= 2        li = link_to t('journey_patterns.actions.new'), new_referential_line_route_journey_pattern_path(@referential, @line, @route), class: 'add' -    - if @route.stop_points.present? -      li = link_to t('routes.actions.edit_boarding_alighting'), edit_boarding_alighting_referential_line_route_path(@referential, @line, @route), class: 'edit' +    / - if @route.stop_points.present? +    /   li = link_to t('routes.actions.edit_boarding_alighting'), edit_boarding_alighting_referential_line_route_path(@referential, @line, @route), class: 'edit'      - if @route.journey_patterns.size > 0        li = link_to t('vehicle_journeys.actions.index'), [@referential, @line, @route, :vehicle_journeys], class: 'clock' -  ul.actions -    li = link_to t('vehicle_journey_imports.new.title'), new_referential_line_route_vehicle_journey_import_path( @referential, @line, @route ), class: 'import' -    li = link_to t('vehicle_journey_exports.new.title'), referential_line_route_vehicle_journey_exports_path(@referential, @line, @route, format: :zip), class: 'export' +  / ul.actions +  /   li = link_to t('vehicle_journey_imports.new.title'), new_referential_line_route_vehicle_journey_import_path( @referential, @line, @route ), class: 'import' +  /   li = link_to t('vehicle_journey_exports.new.title'), referential_line_route_vehicle_journey_exports_path(@referential, @line, @route, format: :zip), class: 'export'    = creation_tag(@route) | 
