Render link rather than just text

This commit is contained in:
Oliver Walters 2020-12-16 15:48:41 +11:00
parent bf3b5bdd7f
commit 1a07ae0936

View File

@ -608,7 +608,9 @@ function loadPartTestTemplateTable(table, options) {
return html;
} 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/`);
}
}
}