Display batch code in build output table

This commit is contained in:
Oliver 2022-04-29 13:03:41 +10:00
parent 8fc34a21a6
commit a80465e85c

View File

@ -1135,6 +1135,10 @@ function loadBuildOutputTable(build_info, options={}) {
text = `{% trans "Quantity" %}: ${row.quantity}`;
}
if (row.batch) {
text += ` <small>({% trans "Batch" %}: ${row.batch})</small>`;
}
return renderLink(text, url);
},
sorter: function(a, b, row_a, row_b) {