Visibly de-highlight disabled products

This commit is contained in:
Raphael Michel
2021-05-19 09:53:25 +02:00
parent f20ac78586
commit ac4e4a2578
8 changed files with 41 additions and 16 deletions

View File

@@ -483,7 +483,7 @@ var form_handlers = function (el) {
return res.text;
}
var $ret = $("<span>").append(
$("<span>").addClass("primary").append($("<div>").text(res.text).html())
$(res.inactive ? "<strike class='text-muted'>" : "<span>").addClass("primary").append($("<div>").text(res.text).html())
);
if (res.event) {
$ret.append(