fix: klippede tekster i Oversigt/Marker/Fabrikker/Siloer/Stalde — kort status i oversigten, fuld dvale-grund i Flows-listen (oversat), kortere opmærksomhedslinjer — 1.62.307

This commit is contained in:
2026-10-17 10:32:09 +02:00
parent 079b790028
commit 4db27f7b12
8 changed files with 51 additions and 32 deletions
@@ -293,7 +293,7 @@ function SmartPickupFrame:refreshFlowListRows(adEnv)
entry.cells[1]:setText(ADFlowView.listName(run))
entry.cells[2]:setText(tostring(cells[2]))
entry.cells[3]:setText(tostring(cells[5]))
entry.cells[4]:setText(tostring(cells[6]))
entry.cells[4]:setText(tostring(cells[7] or cells[6]))
entry.cells[5]:setText(self.i18n:getText(canStop and "spu_flowList_stop" or "spu_flowList_start"))
if entry.dot ~= nil and entry.dot.setImageColor ~= nil then entry.dot:setImageColor(nil, unpackFn(color)) end
if entry.cells[4].setTextColor ~= nil then entry.cells[4]:setTextColor(unpackFn(color)) end
@@ -349,7 +349,7 @@ function SmartPickupFrame:fillFlowSummary(adEnv, run)
end)
end
local cells = self:flowCells(adEnv, run)
self:addTextRow(" " .. string.format(i18n:getText("spu_field_statusFull"), tostring(cells[6])))
self:addTextRow(" " .. string.format(i18n:getText("spu_field_statusFull"), tostring(cells[7] or cells[6])))
self:addLinkRow(" " .. i18n:getText("spu_guide_flow_open"), function(frame)
frame.selectedRunId = runId
frame:onClickFlowSetup()
@@ -371,7 +371,8 @@ SmartPickupFrame.EDIT_PANEL_KINDS.flow = {
end,
status = function(frame, adEnv, id)
local run = ADRuns.getRun(ADRunsController.store, id)
return {text = tostring(frame:flowCells(adEnv, run)[6]), level = frame:flowLevel(adEnv, run)}
local cells = frame:flowCells(adEnv, run)
return {text = tostring(cells[7] or cells[6]), level = frame:flowLevel(adEnv, run)}
end,
startStopText = function(frame, adEnv, id)
local run = ADRuns.getRun(ADRunsController.store, id)