diff --git a/InvenTree/static/css/inventree.css b/InvenTree/static/css/inventree.css index 50d10547e1..752885145d 100644 --- a/InvenTree/static/css/inventree.css +++ b/InvenTree/static/css/inventree.css @@ -6,6 +6,10 @@ font-size: 20px; } +.glyphicon-small { + font-size: 14px; +} + .starred-part { color: #ffcc00; } diff --git a/InvenTree/static/script/inventree/bom.js b/InvenTree/static/script/inventree/bom.js index b96ae49050..e88e617945 100644 --- a/InvenTree/static/script/inventree/bom.js +++ b/InvenTree/static/script/inventree/bom.js @@ -42,6 +42,8 @@ function downloadBom(options = {}) { modalSetContent(modal, content); + modalEnable(modal, true); + $(modal).on('click', '#modal-form-submit', function() { $(modal).modal('hide'); @@ -91,7 +93,7 @@ function loadBomTable(table, options) { title: 'Part', sortable: true, formatter: function(value, row, index, field) { - return renderLink(value.name, value.url); + return imageHoverIcon(value.image_url) + renderLink(value.name, value.url); } } ); @@ -127,8 +129,8 @@ function loadBomTable(table, options) { if (options.editable) { cols.push({ formatter: function(value, row, index, field) { - var bEdit = ""; - var bDelt = ""; + var bEdit = ""; + var bDelt = ""; return "
" + bEdit + bDelt + "
"; }