[AB-76] adding auto evaluation text to suggestion template

This commit is contained in:
Sheldan
2022-11-11 00:07:01 +01:00
parent 3b471e2daf
commit f273bd0872
2 changed files with 7 additions and 1 deletions

View File

@@ -1,3 +1,4 @@
<#include "format_instant">
{
"embeds": [
{
@@ -7,7 +8,10 @@
<#assign user><@user_user_name user=suggester/></#assign>
<#include "abstracto_color">,
<#assign id>${suggestionId}</#assign>
"description": "${text?json_string}",
<#if autoEvaluationEnabled>
<#assign suggestionAutoEvaluateDate><@format_instant_date_time instant=autoEvaluationTargetDate/></#assign>
</#if>
"description": "${text?json_string}<#if autoEvaluationEnabled><@safe_include "suggest_auto_evaluation_hint"/></#if>",
<#if attachmentURL?has_content>
"imageUrl": "${attachmentURL}",
</#if>