mirror of
https://github.com/Sheldan/abstracto-templates.git
synced 2026-03-06 08:25:29 +00:00
[AB-222] adding uptime command related templates
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
{
|
||||
<#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}"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user