mirror of
https://github.com/Sheldan/abstracto-templates.git
synced 2026-04-14 03:46:00 +00:00
[AB-111] adding templates related to moderation actions
This commit is contained in:
@@ -28,4 +28,17 @@
|
||||
]
|
||||
}
|
||||
]
|
||||
<#if moderationActionComponents?size gt 0>,
|
||||
"buttons": [
|
||||
<#list moderationActionComponents as moderactionAction>
|
||||
{
|
||||
"label": "<@safe_include "moderation_action_${moderactionAction.action}_button_label"/>",
|
||||
"id": "${moderactionAction.componentId}",
|
||||
"buttonStyle": "danger",
|
||||
"metaConfig": {
|
||||
"persistCallback": false
|
||||
}
|
||||
}<#sep>,</#list>
|
||||
]
|
||||
</#if>
|
||||
}
|
||||
Reference in New Issue
Block a user