mirror of
https://github.com/inventree/InvenTree.git
synced 2025-07-22 04:36:30 +00:00
Render link rather than just text
This commit is contained in:
@@ -608,7 +608,9 @@ function loadPartTestTemplateTable(table, options) {
|
|||||||
|
|
||||||
return html;
|
return html;
|
||||||
} else {
|
} else {
|
||||||
return '{% trans "This test is defined for a parent part" %}';
|
var text = '{% trans "This test is defined for a parent part" %}';
|
||||||
|
|
||||||
|
return renderLink(text, `/part/${row.part}/tests/`);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user