This commit is contained in:
tianshujie
2024-01-03 15:12:48 +08:00
parent cda58c16c6
commit 5a201bfebe
2 changed files with 13 additions and 0 deletions
+11
View File
@@ -183,6 +183,17 @@ window.renderCell = function(result, info)
}
}
if(info.col.name == 'title')
{
html = '';
if(info.row.data.parent) html += "<span class='label gray-pale rounded-xl'>" + childrenAB + "</span>";
if(html) result.unshift({html});
html = '';
if(info.row.data.expired && ['wait', 'doing'].includes(info.row.data.status)) html += '<span class="label danger-pale ml-1">' + expiredLang + '</span>';
if(html) result.push({html});
}
return result;
}
@@ -11,6 +11,8 @@ declare(strict_types=1);
namespace zin;
jsVar('checkedSummary', $lang->productplan->checkedSummary);
jsVar('childrenAB', $lang->productplan->childrenAB);
jsVar('expiredLang', $lang->productplan->expired);
/* zin: Define the set::module('productplan') feature bar on main menu. */
featureBar