Line 13: |
Line 13: |
| _column_cell_templates = { | | _column_cell_templates = { |
| ship = [[| rowspan="4" style="background: transparent;" |${values.ship_card}]], | | ship = [[| rowspan="4" style="background: transparent;" |${values.ship_card}]], |
− | equips = [[| style="background: whitesmoke; width: 175px;" |${values.equips}]], | + | equips = [[| style="background: whitesmoke; width: 22px;" |${values.equip_icon} |
| + | | style="background: whitesmoke; width: 175px;" |${values.equip_link}]], |
| ship2 = [[| rowspan="4" style="background: transparent;" |${values.ship_card}]], | | ship2 = [[| rowspan="4" style="background: transparent;" |${values.ship_card}]], |
− | equips2 = [[| style="background: whitesmoke; width: 175px;" |${values.equips}]] | + | equips2 = [[| style="background: whitesmoke; width: 22px;" |${values.equip_icon} |
| + | | style="background: whitesmoke; width: 175px;" |${values.equip_link}]] |
| }, | | }, |
| _columns = { | | _columns = { |
Line 49: |
Line 51: |
| | | |
| function NanaminFleet:equips(row) | | function NanaminFleet:equips(row) |
| + | local value, icon |
| if row[2] == false then | | if row[2] == false then |
| value = "- Unequipped -" | | value = "- Unequipped -" |
| else | | else |
| value = Formatting:format_link(row[2]:link()) | | value = Formatting:format_link(row[2]:link()) |
| + | icon = Formatting:format_link(row[2]:icon()) |
| end | | end |
− | return {values = {equips = value}, bg_color = self._equip_bg, text_align = self._center_align} | + | return {values = {equip_link = value, equip_icon = icon}, bg_color = self._equip_bg, text_align = self._center_align} |
| end | | end |
| | | |