Add tooltip describing arming disable flags

10.3.x-maintenance
Dan Nixon 2017-10-14 17:58:05 +01:00
parent c125c39040
commit 57518f3fcd
3 changed files with 7 additions and 1 deletions

View File

@ -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"
},

View File

@ -95,7 +95,7 @@
<div class="spacer_box">
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="cf_table">
<tbody>
<tr>
<tr id="arming-disable-flag-row" class="cf_tip">
<td i18n="initialSetupArmingDisableFlags"></td>
<td class="arming-disable-flags">0</td>
</tr>

View File

@ -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);