mirror of
https://github.com/Sheldan/abstracto-templates.git
synced 2026-04-14 03:46:00 +00:00
[AB-57] changed some templates to match the changed models for new transaction handling
This commit is contained in:
@@ -7,22 +7,36 @@
|
||||
"name": "${suggesterUser.userReference.id}"
|
||||
</#if>
|
||||
},
|
||||
<#include "abstracto_color">,
|
||||
<#assign user><@member_user_name member=member/></#assign>
|
||||
<#assign id>${suggestion.id}</#assign>
|
||||
<#if suggestion.state = "ACCEPTED">
|
||||
"description": "~~${text?js_string}~~ \n✅ ${reason} - <@safe_include "suggest_accepted_by"/>",
|
||||
<#elseif suggestion.state = "REJECTED">
|
||||
"description": "~~${text?js_string}~~ \n❌ ${reason} - <@safe_include "suggest_rejected_by"/>",
|
||||
<#else>
|
||||
"description": "${text?js_string}",
|
||||
<#if state = "ACCEPTED">
|
||||
"title": {
|
||||
"title": "<@safe_include "suggest_accepted_by"/>"
|
||||
},
|
||||
<#elseif state = "REJECTED">
|
||||
"title": {
|
||||
"title": "<@safe_include "suggest_rejected_by"/>"
|
||||
},
|
||||
</#if>
|
||||
<#if suggestion.state = "ACCEPTED" || suggestion.state = "REJECTED">
|
||||
<#include "abstracto_color">,
|
||||
<#assign id>${suggestionId}</#assign>
|
||||
<#if state = "ACCEPTED" || state = "REJECTED">
|
||||
"description": "~~${text?js_string}~~",
|
||||
<#else>
|
||||
"description": "${text?js_string}",
|
||||
</#if>
|
||||
<#if state = "ACCEPTED" || state = "REJECTED">
|
||||
"fields": [
|
||||
{
|
||||
"name": "<@safe_include "suggest_link_field_title"/>",
|
||||
"value": "[<@safe_include "suggest_link_display_value"/>](${originalMessageUrl})"
|
||||
}
|
||||
<#if reason?has_content>
|
||||
,
|
||||
{
|
||||
"name": "<@safe_include "suggest_reason_field_title"/>",
|
||||
"value": "${reason?js_string}"
|
||||
}
|
||||
</#if>
|
||||
],
|
||||
</#if>
|
||||
"footer": {
|
||||
|
||||
Reference in New Issue
Block a user