[AB-167] adding templates for infraction tracking and post target disabling

adding some missing templates
adding post target disabled state to post target output
This commit is contained in:
Sheldan
2021-10-25 00:06:09 +02:00
parent cc584d711c
commit 479c100220
17 changed files with 31 additions and 2 deletions

View File

@@ -6,6 +6,7 @@
"description": "
<#list postTargets as postTarget><#assign postTarget=postTarget/>
<#assign postTargetName>${postTarget.postTarget.name?json_string}</#assign>
<#assign statusIndicator>${postTarget.disabled?string('❌', '✅')}</#assign>
<#assign channelMention><#if postTarget.channel?has_content>${postTarget.channel.asMention?json_string}<#else><@safe_include "posttarget_no_channel"/></#if></#assign>
<@safe_include "posttarget_post_target_text"/>

View File

@@ -0,0 +1,2 @@
<#assign postTargetKey=model.postTargetKey>
<#include "post_target_not_usable_exception_text">