Skip to content

Commit 39cf902

Browse files
Merge pull request #2387 from iNavFlight/MrD_Reorder-IPF-columns
Move Active column in IPF
2 parents 6f3b20f + c25ae30 commit 39cf902

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

js/logicCondition.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,12 +236,12 @@ let LogicCondition = function (enabled, activatorId, operation, operandAType, op
236236
self.render = function (index, $container) {
237237

238238
$container.find('tbody').append('<tr>\
239+
<td class="logic_cell__activator"></div></td>\
239240
<td class="logic_cell__index"></td>\
240241
<td class="logic_cell__enabled"></td>\
241242
<td class="logic_cell__operation"></td>\
242243
<td class="logic_cell__operandA"></td>\
243244
<td class="logic_cell__operandB"></td>\
244-
<td class="logic_cell__activator"></div></td>\
245245
<td class="logic_cell__flags"></div></td>\
246246
<td class="logic_cell__status"></td>\
247247
</tr>\

locale/en/messages.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5183,7 +5183,7 @@
51835183
"message": "Close"
51845184
},
51855185
"logicActivator": {
5186-
"message": "Active"
5186+
"message": "Active when"
51875187
},
51885188
"save": {
51895189
"message": "Save"

src/css/tabs/programming.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,8 @@
3737
padding: 2px;
3838
margin-right: 1em;
3939
font-size: 13px;
40+
}
41+
42+
.logic_cell__activator {
43+
width: 145px;
4044
}

tabs/programming.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ <h2>GVAR 0</h2>
2020
<table class="mixer-table logic__table">
2121
<thead>
2222
<tr>
23+
<th data-i18n="logicActivator"></th>
2324
<th style="width: 50px" data-i18n="logicId"></th>
2425
<th style="width: 80px" data-i18n="logicEnabled"></th>
2526
<th style="width: 120px" data-i18n="logicOperation"></th>
2627
<th data-i18n="logicOperandA"></th>
2728
<th data-i18n="logicOperandB"></th>
28-
<th data-i18n="logicActivator"></th>
2929
<th style="width: 40px" data-i18n="logicFlags"></th>
3030
<th style="width: 50px" data-i18n="logicStatus"></th>
3131
</tr>

0 commit comments

Comments
 (0)