2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-08-14 15:41:10 +00:00

Display supplier logo in part suppliers list

- Also add a background colour for popup image in case of transparent image file
This commit is contained in:
Oliver Walters
2019-05-08 20:23:54 +10:00
parent 0754afd5f5
commit 58e5b10d26
4 changed files with 14 additions and 1 deletions

View File

@@ -63,7 +63,7 @@
field: 'supplier_name',
title: 'Supplier',
formatter: function(value, row, index, field) {
return renderLink(value, '/company/' + row.supplier + '/');
return imageHoverIcon(row.supplier_logo) + renderLink(value, '/company/' + row.supplier + '/');
}
},
{