[AB-xxx] fixing ban related templates

This commit is contained in:
Sheldan
2021-06-26 22:17:28 +02:00
parent b8d7ed4139
commit 1ae65d2723
11 changed files with 17 additions and 10 deletions

View File

@@ -2,7 +2,7 @@
<#include "user_detail"> <#include "user_detail">
<#include "full_member_info"> <#include "full_member_info">
"title": { "title": {
"title": "<@safe_include "ban_log_title"/>" "title": "<@safe_include "unBan_log_title"/>"
}, },
<#include "moderation_action_color">, <#include "moderation_action_color">,
"fields": [ "fields": [

View File

@@ -1,23 +1,23 @@
{ {
<#include "user_detail"> <#include "user_detail">
<#include "abstracto_color">, <#include "abstracto_color">,
"description" : "User was banned.", "description" : "<@safe_include "userBanned_description"/>",
"fields": [ "fields": [
{ {
"name": "Banned user", "name": "<@safe_include "userBanned_field_title_banned_user"/>",
"value": ""<@user_detail user=bannedUser/>" "value": "<@user_detail user=bannedUser/>"
} }
<#if banningUser??> <#if banningUser??>
, ,
{ {
"name": "Banning user", "name": "<@safe_include "userBanned_field_title_banning_user"/>",
"value": "<@user_detail user=banningUser/>" "value": "<@user_detail user=banningUser/>"
} }
</#if> </#if>
<#if reason??> <#if reason??>
, ,
{ {
"name": "reason", "name": "<@safe_include "userBanned_field_title_reason"/>",
"value": "${reason}" "value": "${reason}"
} }
</#if> </#if>

View File

@@ -1,16 +1,16 @@
{ {
<#include "user_detail"> <#include "user_detail">
<#include "abstracto_color">, <#include "abstracto_color">,
"description" : "User was un-banned.", "description" : "<@safe_include "userUnBanned_description"/>",
"fields": [ "fields": [
{ {
"name": "Un-Banned user", "name": "<@safe_include "userUnBanned_field_title_un_banned_user"/>",
"value": "<@user_detail user=unBannedUser/>" "value": "<@user_detail user=unBannedUser/>"
} }
<#if unBanningUser??> <#if unBanningUser??>
, ,
{ {
"name": "Un-banning user", "name": "<@safe_include "userUnBanned_field_title_un_banning_user"/>",
"value": "<@user_detail user=unBanningUser/>" "value": "<@user_detail user=unBanningUser/>"
} }
</#if> </#if>