From 5d5ebb26883aca3cb6a9fbd3280831ba69e1d9ae Mon Sep 17 00:00:00 2001 From: meriadec Date: Thu, 28 Jun 2018 18:13:58 +0200 Subject: [PATCH] Add "Your device is genuine" tooltip on manager --- src/components/ManagerPage/FirmwareUpdate.js | 5 ++++- static/i18n/en/app.yml | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/components/ManagerPage/FirmwareUpdate.js b/src/components/ManagerPage/FirmwareUpdate.js index 4cb3dc9c..d00fdaa6 100644 --- a/src/components/ManagerPage/FirmwareUpdate.js +++ b/src/components/ManagerPage/FirmwareUpdate.js @@ -16,6 +16,7 @@ import getLatestFirmwareForDevice from 'commands/getLatestFirmwareForDevice' import installOsuFirmware from 'commands/installOsuFirmware' import type { DeviceInfo } from 'helpers/devices/getDeviceInfo' +import Tooltip from 'components/base/Tooltip' import Box, { Card } from 'components/base/Box' import Text from 'components/base/Text' import Modal, { ModalBody, ModalFooter, ModalTitle, ModalContent } from 'components/base/Modal' @@ -158,7 +159,9 @@ class FirmwareUpdate extends PureComponent { Ledger Nano S - + t('app:manager.yourDeviceIsGenuine')}> + + diff --git a/static/i18n/en/app.yml b/static/i18n/en/app.yml index 4ca5e314..e300293f 100644 --- a/static/i18n/en/app.yml +++ b/static/i18n/en/app.yml @@ -181,6 +181,7 @@ operationDetails: operationList: noMoreOperations: That's all! manager: + yourDeviceIsGenuine: Your device is genuine tabs: apps: Apps device: My device