From f4e52548329ca076e45a2594f57b328a937f81dc Mon Sep 17 00:00:00 2001 From: Cmdr McDonald Date: Sun, 26 Feb 2017 21:22:53 +0000 Subject: [PATCH] Relocate slider values --- src/app/components/EngineProfile.jsx | 5 +---- src/app/components/FSDProfile.jsx | 5 +---- src/app/components/JumpRange.jsx | 5 +---- 3 files changed, 3 insertions(+), 12 deletions(-) diff --git a/src/app/components/EngineProfile.jsx b/src/app/components/EngineProfile.jsx index c6195246..6e4af044 100644 --- a/src/app/components/EngineProfile.jsx +++ b/src/app/components/EngineProfile.jsx @@ -125,7 +125,7 @@ export default class EngineProfile extends TranslatedComponent { /> {ship.cargoCapacity ? -

{translate('cargo carried')}

+

{translate('cargo carried')}: {formats.int(cargo)}{units.T}

@@ -140,9 +140,6 @@ export default class EngineProfile extends TranslatedComponent { onResize={onWindowResize} /> -
- {formats.int(cargo)}{units.T} -
diff --git a/src/app/components/FSDProfile.jsx b/src/app/components/FSDProfile.jsx index 07071bfb..7633a34a 100644 --- a/src/app/components/FSDProfile.jsx +++ b/src/app/components/FSDProfile.jsx @@ -126,7 +126,7 @@ export default class FSDProfile extends TranslatedComponent { /> {ship.cargoCapacity ? -

{translate('cargo carried')}

+

{translate('cargo carried')}: {formats.int(cargo)}{units.T}

@@ -141,9 +141,6 @@ export default class FSDProfile extends TranslatedComponent { onResize={onWindowResize} /> -
- {formats.int(cargo)}{units.T} -
diff --git a/src/app/components/JumpRange.jsx b/src/app/components/JumpRange.jsx index 9475d9b2..d197ff04 100644 --- a/src/app/components/JumpRange.jsx +++ b/src/app/components/JumpRange.jsx @@ -102,7 +102,7 @@ export default class JumpRange extends TranslatedComponent { points={200} code={code} /> -

{translate('fuel carried')}

+

{translate('fuel carried')}: {formats.f2(fuelLevel * ship.fuelCapacity)}{units.T}

@@ -117,9 +117,6 @@ export default class JumpRange extends TranslatedComponent { onResize={onWindowResize} /> -
- {formats.f2(fuelLevel * ship.fuelCapacity)}{units.T} {formats.pct1(fuelLevel)} -