Skip to content

Commit 57518f3

Browse files
committed
Add tooltip describing arming disable flags
1 parent c125c39 commit 57518f3

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

_locales/en/messages.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -457,6 +457,9 @@
457457
"initialSetupArmingAllowed": {
458458
"message": "Arming Allowed"
459459
},
460+
"initialSetupArmingDisableFlagsTooltip": {
461+
"message": "List of flags indicating why arming is currently not allowed. Please refer to the Wiki for a description of what these flags mean."
462+
},
460463
"initialSetupGPSHead": {
461464
"message": "GPS"
462465
},

tabs/setup.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@
9595
<div class="spacer_box">
9696
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="cf_table">
9797
<tbody>
98-
<tr>
98+
<tr id="arming-disable-flag-row" class="cf_tip">
9999
<td i18n="initialSetupArmingDisableFlags"></td>
100100
<td class="arming-disable-flags">0</td>
101101
</tr>

tabs/setup.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,9 @@ TABS.setup.initialize = function (callback) {
5959

6060
self.initializeInstruments();
6161

62+
63+
$('#arming-disable-flag-row').attr('title', chrome.i18n.getMessage('initialSetupArmingDisableFlagsTooltip'));
64+
6265
// UI Hooks
6366
$('a.calibrateAccel').click(function () {
6467
var self = $(this);

0 commit comments

Comments
 (0)