mirror of
https://github.com/Sheldan/abstracto-templates.git
synced 2026-01-26 19:42:10 +00:00
[AB-106] adding deletion duration to ban command
removing banDelete command updating deletion days to deletion duration
This commit is contained in:
@@ -27,11 +27,11 @@
|
||||
"name": "<@safe_include "ban_log_reason_field_title"/>",
|
||||
"value": "${reason?json_string}"
|
||||
}
|
||||
<#if deletionDays gt 0>
|
||||
<#if deletionDuration?has_content>
|
||||
,
|
||||
{
|
||||
"name": "<@safe_include "ban_log_deletion_days_field_title"/>",
|
||||
"value": "${deletionDays?c}"
|
||||
"name": "<@safe_include "ban_log_deletion_duration_field_title"/>",
|
||||
"value": "${fmtDuration(deletionDuration)}"
|
||||
}
|
||||
</#if>
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user