From 57518f3fcdfba5dfdee93ac14f279ab88295ff9a Mon Sep 17 00:00:00 2001 From: Dan Nixon Date: Sat, 14 Oct 2017 17:58:05 +0100 Subject: [PATCH] Add tooltip describing arming disable flags --- _locales/en/messages.json | 3 +++ tabs/setup.html | 2 +- tabs/setup.js | 3 +++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/_locales/en/messages.json b/_locales/en/messages.json index 810c6c81..ab4d2300 100644 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -457,6 +457,9 @@ "initialSetupArmingAllowed": { "message": "Arming Allowed" }, + "initialSetupArmingDisableFlagsTooltip": { + "message": "List of flags indicating why arming is currently not allowed. Please refer to the Wiki for a description of what these flags mean." + }, "initialSetupGPSHead": { "message": "GPS" }, diff --git a/tabs/setup.html b/tabs/setup.html index 28981e08..e3ff46e6 100644 --- a/tabs/setup.html +++ b/tabs/setup.html @@ -95,7 +95,7 @@
- + diff --git a/tabs/setup.js b/tabs/setup.js index 2460215e..525b39ab 100755 --- a/tabs/setup.js +++ b/tabs/setup.js @@ -59,6 +59,9 @@ TABS.setup.initialize = function (callback) { self.initializeInstruments(); + + $('#arming-disable-flag-row').attr('title', chrome.i18n.getMessage('initialSetupArmingDisableFlagsTooltip')); + // UI Hooks $('a.calibrateAccel').click(function () { var self = $(this);
0