feat(html): use emoji instead of text in status field

This commit is contained in:
imlonghao 2022-01-23 16:51:34 +08:00
parent b7babfffb6
commit 9a45b1bc96
2 changed files with 13 additions and 1 deletions

View file

@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
### Added
- Use emoji instead of text in status field
### Fixed
- Remove the quote tag from more href

View file

@ -55,7 +55,15 @@
{
targets: 3,
title: "状态",
data: "result"
data: "result",
render: function (data, type, row, meta) {
switch (data) {
case "Successful": return "✅"
case "Failed": return "❌"
case "Staged": return "♻️"
default: return data
}
}
},
{
targets: 4,