2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-19 21:45:39 +00:00

badge updates

This commit is contained in:
Oliver
2021-10-28 22:32:03 +11:00
parent 2778ff55da
commit f542bdc19f
4 changed files with 8 additions and 8 deletions

View File

@ -501,7 +501,7 @@ function loadManufacturerPartTable(table, url, options) {
}
if (!row.part_detail.active) {
html += `<span class='badge rounded-pill bg-warning'>{% trans "Inactive" %}</span>`;
html += `<span class='badge badge-right rounded-pill bg-warning'>{% trans "Inactive" %}</span>`;
}
return html;
@ -758,7 +758,7 @@ function loadSupplierPartTable(table, url, options) {
}
if (!row.part_detail.active) {
html += `<span class='badge rounded-pill bg-warning'>{% trans "Inactive" %}</span>`;
html += `<span class='badge badge-right rounded-pill bg-warning'>{% trans "Inactive" %}</span>`;
}
return html;

View File

@ -172,7 +172,7 @@ function renderPart(name, data, parameters, options) {
}
if (!data.active) {
extra += `<span class='badge rounded-pill bg-danger'>{% trans "Inactive" %}</span>`;
extra += `<span class='badge badge-right rounded-pill bg-danger'>{% trans "Inactive" %}</span>`;
}
html += `

View File

@ -451,7 +451,7 @@ function makePartIcons(part) {
}
if (!part.active) {
html += `<span class='badge rounded-pill bg-warning'>{% trans "Inactive" %}</span>`;
html += `<span class='badge badge-right rounded-pill bg-warning'>{% trans "Inactive" %}</span>`;
}
return html;
@ -528,7 +528,7 @@ function loadPartVariantTable(table, partId, options={}) {
}
if (!row.active) {
html += `<span class='badge rounded-pill bg-warning'>{% trans "Inactive" %}</span>`;
html += `<span class='badge badge-right rounded-pill bg-warning'>{% trans "Inactive" %}</span>`;
}
return html;