− | local row2 = '<tr><th colspan="2">' .. JaName .. '</th><th colspan="2">' .. shipmodule.data[shipNum]["name"][3] .. '</th></tr>' | + | local shipType = shipInfo.type == 'Light Carrier' and shipInfo.asw and type(shipInfo.asw[1]) == 'number' and shipInfo.asw[1] > 0 and string.format('<span class="explain" title="CVE">%s</span>', shipType) or shipType |
− | local row3 = '<tr><td colspan="4" style="text-align: center;">' .. shipmodule.data[shipNum]["class"] .. ' Class ' .. shipmodule.data[shipNum]["type"] .. '</td></tr>' | + | local row2 = '<tr><th colspan="2">' .. JaName .. '</th><th colspan="2">' .. shipInfo.name[3] .. '</th></tr>' |
| local row4 = '<tr><td colspan="4"><hr style="border: 0; height: 1px; background-image: linear-gradient(to right, rgba(0,0,0,0), rgba(0,0,0,0.75), rgba(0,0,0,0));" /></td></tr>' | | local row4 = '<tr><td colspan="4"><hr style="border: 0; height: 1px; background-image: linear-gradient(to right, rgba(0,0,0,0), rgba(0,0,0,0.75), rgba(0,0,0,0));" /></td></tr>' |