Use proper emojis for status checks

This commit is contained in:
David Duque 2020-04-24 15:50:01 +01:00
parent 7328990921
commit d9567c0035
No known key found for this signature in database
GPG Key ID: 2F327738A3C0AE3A
1 changed files with 3 additions and 3 deletions

View File

@ -109,9 +109,9 @@
n.addClass(r[i].type)
else
n.addClass("status-" + r[i].type)
if (r[i].type == "ok") n.find('td.status').text("")
if (r[i].type == "error") n.find('td.status').text("")
if (r[i].type == "warning") n.find('td.status').text("?")
if (r[i].type == "ok") n.find('td.status').text("✔️")
if (r[i].type == "error") n.find('td.status').text("")
if (r[i].type == "warning") n.find('td.status').text("⚠️")
n.find('td.message p').text(r[i].text)
$('#system-checks tbody').append(n);