From c20f034b60d39a4bcb56cd61f3fa314c64a8736c Mon Sep 17 00:00:00 2001 From: Zog Date: Wed, 7 Feb 2018 11:12:04 +0100 Subject: Refs #4126 @2h; Add more translations --- app/assets/stylesheets/components/_tables.sass | 20 +++- .../vehicle_journeys/components/Navigate.js | 5 +- .../vehicle_journeys/components/ToggleArrivals.js | 2 +- .../vehicle_journeys/components/Tools.js | 4 +- .../components/tools/EditVehicleJourney.js | 18 +-- .../components/tools/VehicleJourneyInfoButton.js | 4 +- config/locales/vehicle_journeys.en.yml | 123 +++++++++++--------- config/locales/vehicle_journeys.fr.yml | 127 +++++++++++---------- 8 files changed, 169 insertions(+), 134 deletions(-) diff --git a/app/assets/stylesheets/components/_tables.sass b/app/assets/stylesheets/components/_tables.sass index 5f8b06f09..1e02ad586 100644 --- a/app/assets/stylesheets/components/_tables.sass +++ b/app/assets/stylesheets/components/_tables.sass @@ -326,7 +326,25 @@ border-bottom: 2px solid rgba($grey, 0.5) border-top: 1px solid rgba($grey, 0.5) text-transform: capitalize - + + .info-button + position: absolute + width: 20px + height: 20px + top: 0 + right: 0 + margin: 6px 8px + button + border: none + background: $blue + border-radius: 20px + width: 100% + height: 100% + font-size: 12px + line-height: 14px + color: white + outline: none + .td position: relative padding: 6px 8px diff --git a/app/javascript/vehicle_journeys/components/Navigate.js b/app/javascript/vehicle_journeys/components/Navigate.js index 0158b8392..24843babc 100644 --- a/app/javascript/vehicle_journeys/components/Navigate.js +++ b/app/javascript/vehicle_journeys/components/Navigate.js @@ -17,8 +17,7 @@ export default function Navigate({ dispatch, vehicleJourneys, pagination, status if(status.fetchSuccess == true) { return (