mirror of
https://github.com/BioArchLinux/bioarchlinux-packages.git
synced 2025-03-10 06:24:00 +00:00
feat(html): use emoji instead of text in status field
This commit is contained in:
parent
b7babfffb6
commit
9a45b1bc96
2 changed files with 13 additions and 1 deletions
|
@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
|
### Added
|
||||||
|
|
||||||
|
- Use emoji instead of text in status field
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
- Remove the quote tag from more href
|
- Remove the quote tag from more href
|
||||||
|
|
|
@ -55,7 +55,15 @@
|
||||||
{
|
{
|
||||||
targets: 3,
|
targets: 3,
|
||||||
title: "状态",
|
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,
|
targets: 4,
|
||||||
|
|
Loading…
Add table
Reference in a new issue