[AB-xxx] reducing amount of vertical space used by uptime embed

This commit is contained in:
Sheldan
2021-04-19 22:24:45 +02:00
parent 2c4c1c1079
commit 4342747ab9

View File

@@ -1,15 +1,9 @@
{
<#include "abstracto_color">,
"fields": [
{
"name": "<@safe_include "uptime_response_embed_start_date_field_title"/>",
<#assign startDate>${formatDate(startDate, "yyyy-MM-dd HH:mm:ss z")}</#assign>
"value": "${startDate}"
},
{
"name": "<@safe_include "uptime_response_embed_uptime_field_title"/>",
<#assign uptime>${fmtDuration(uptime)}</#assign>
"value": "${uptime}"
}
]
<#assign uptime>${fmtDuration(uptime)}</#assign>
"description": "${uptime}",
"footer": {
"text": "<@safe_include "uptime_response_embed_start_date_field_title"/>"
},
"timeStamp": "${startDate}"
}