mirror of
https://github.com/Sheldan/abstracto-templates.git
synced 2026-03-03 15:27:07 +00:00
[AB-xxx] fixing ban related templates
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
<#include "user_detail">
|
||||
<#include "full_member_info">
|
||||
"title": {
|
||||
"title": "<@safe_include "ban_log_title"/>"
|
||||
"title": "<@safe_include "unBan_log_title"/>"
|
||||
},
|
||||
<#include "moderation_action_color">,
|
||||
"fields": [
|
||||
|
||||
@@ -1,23 +1,23 @@
|
||||
{
|
||||
<#include "user_detail">
|
||||
<#include "abstracto_color">,
|
||||
"description" : "User was banned.",
|
||||
"description" : "<@safe_include "userBanned_description"/>",
|
||||
"fields": [
|
||||
{
|
||||
"name": "Banned user",
|
||||
"value": ""<@user_detail user=bannedUser/>"
|
||||
"name": "<@safe_include "userBanned_field_title_banned_user"/>",
|
||||
"value": "<@user_detail user=bannedUser/>"
|
||||
}
|
||||
<#if banningUser??>
|
||||
,
|
||||
{
|
||||
"name": "Banning user",
|
||||
"name": "<@safe_include "userBanned_field_title_banning_user"/>",
|
||||
"value": "<@user_detail user=banningUser/>"
|
||||
}
|
||||
</#if>
|
||||
<#if reason??>
|
||||
,
|
||||
{
|
||||
"name": "reason",
|
||||
"name": "<@safe_include "userBanned_field_title_reason"/>",
|
||||
"value": "${reason}"
|
||||
}
|
||||
</#if>
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
{
|
||||
<#include "user_detail">
|
||||
<#include "abstracto_color">,
|
||||
"description" : "User was un-banned.",
|
||||
"description" : "<@safe_include "userUnBanned_description"/>",
|
||||
"fields": [
|
||||
{
|
||||
"name": "Un-Banned user",
|
||||
"name": "<@safe_include "userUnBanned_field_title_un_banned_user"/>",
|
||||
"value": "<@user_detail user=unBannedUser/>"
|
||||
}
|
||||
<#if unBanningUser??>
|
||||
,
|
||||
{
|
||||
"name": "Un-banning user",
|
||||
"name": "<@safe_include "userUnBanned_field_title_un_banning_user"/>",
|
||||
"value": "<@user_detail user=unBanningUser/>"
|
||||
}
|
||||
</#if>
|
||||
|
||||
@@ -1 +1 @@
|
||||
Un banning user
|
||||
Unbanning user
|
||||
@@ -0,0 +1 @@
|
||||
User was banned.
|
||||
@@ -0,0 +1 @@
|
||||
Banned user
|
||||
@@ -0,0 +1 @@
|
||||
Banning user
|
||||
@@ -0,0 +1 @@
|
||||
Reason
|
||||
@@ -0,0 +1 @@
|
||||
User was un-banned.
|
||||
@@ -0,0 +1 @@
|
||||
Un-banned user
|
||||
@@ -0,0 +1 @@
|
||||
Un-banning user
|
||||
Reference in New Issue
Block a user