mirror of
https://github.com/Sheldan/abstracto-templates.git
synced 2026-04-17 20:42:54 +00:00
[AB-197] moving templates from utility to their respective maven modules
This commit is contained in:
@@ -0,0 +1,45 @@
|
||||
{
|
||||
"author": {
|
||||
<#if suggester?has_content>
|
||||
"name": "<@member_user_name member=suggester/>",
|
||||
"avatar": "${suggester.user.effectiveAvatarUrl}"
|
||||
<#else>
|
||||
"name": "${suggesterUser.userReference.id?c} (<@safe_include "user_left_server"/>)"
|
||||
</#if>
|
||||
},
|
||||
<#assign user><@member_user_name member=member/></#assign>
|
||||
<#if state = "ACCEPTED">
|
||||
"title": {
|
||||
"title": "<@safe_include "suggest_accepted_by"/>"
|
||||
},
|
||||
<#elseif state = "REJECTED">
|
||||
"title": {
|
||||
"title": "<@safe_include "suggest_rejected_by"/>"
|
||||
},
|
||||
</#if>
|
||||
<#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": {
|
||||
"text": "<@safe_include "suggest_suggestion_id_footer"/>"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
<#assign suggestionId=model.suggestionId><#include "suggestion_does_not_exist_exception_text">
|
||||
@@ -0,0 +1 @@
|
||||
<#include "suggestion_update_exception_text">
|
||||
Reference in New Issue
Block a user