mirror of
https://github.com/Sheldan/abstracto-templates.git
synced 2026-01-27 11:52:51 +00:00
[AB-76] adding auto evaluation text to suggestion template
This commit is contained in:
@@ -1,3 +1,4 @@
|
|||||||
|
<#include "format_instant">
|
||||||
{
|
{
|
||||||
"embeds": [
|
"embeds": [
|
||||||
{
|
{
|
||||||
@@ -7,7 +8,10 @@
|
|||||||
<#assign user><@user_user_name user=suggester/></#assign>
|
<#assign user><@user_user_name user=suggester/></#assign>
|
||||||
<#include "abstracto_color">,
|
<#include "abstracto_color">,
|
||||||
<#assign id>${suggestionId}</#assign>
|
<#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>
|
<#if attachmentURL?has_content>
|
||||||
"imageUrl": "${attachmentURL}",
|
"imageUrl": "${attachmentURL}",
|
||||||
</#if>
|
</#if>
|
||||||
|
|||||||
@@ -0,0 +1,2 @@
|
|||||||
|
|
||||||
|
Auto evaluated at: ${suggestionAutoEvaluateDate}
|
||||||
Reference in New Issue
Block a user