znt/module/block/js/scrumlistblock.ui.js

11 lines
393 B
JavaScript

window.onRenderScrumNameCell = function(result, info)
{
if(info.col.name === 'name' && info.row.data.delay > 0)
{
const html = {html : '<span class="label size-sm danger-pale flex-none nowrap">' + delayInfo.replace('%s', info.row.data.delay) + '</span>', className : 'flex items-end', style : {flexDirection : "column"}};
result.push(html);
}
return result;
}