mirror of
https://github.com/Sheldan/abstracto-templates.git
synced 2026-03-07 00:30:50 +00:00
[AB-83] changing suggestion auto evaluation text to be relative and adapting naming
adding emotes to suggestion buttons adding missing configuration setup template
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
<#include "abstracto_color">,
|
||||
<#assign id>${suggestionId}</#assign>
|
||||
<#if autoEvaluationEnabled>
|
||||
<#assign suggestionAutoEvaluateDate><@format_instant_date_time instant=autoEvaluationTargetDate/></#assign>
|
||||
<#assign suggestionAutoEvaluateDate><@format_instant_relative instant=autoEvaluationTargetDate/></#assign>
|
||||
</#if>
|
||||
"description": "${text?json_string}<#if autoEvaluationEnabled><@safe_include "suggest_auto_evaluation_hint"/></#if>",
|
||||
<#if attachmentURL?has_content>
|
||||
@@ -25,6 +25,7 @@
|
||||
{
|
||||
"label": "<@safe_include "suggest_button_agree_label"/>",
|
||||
"id": "${agreeButtonModel.buttonId}",
|
||||
"emoteMarkdown" : "👍",
|
||||
"buttonStyle": "success",
|
||||
"metaConfig": {
|
||||
"persistCallback": false
|
||||
@@ -34,6 +35,7 @@
|
||||
"label": "<@safe_include "suggest_button_disagree_label"/>",
|
||||
"id": "${disAgreeButtonModel.buttonId}",
|
||||
"buttonStyle": "danger",
|
||||
"emoteMarkdown" : "👎",
|
||||
"metaConfig": {
|
||||
"persistCallback": false
|
||||
}
|
||||
@@ -42,6 +44,7 @@
|
||||
"label": "<@safe_include "suggest_button_reset_vote_label"/>",
|
||||
"id": "${removeVoteButtonModel.buttonId}",
|
||||
"buttonStyle": "secondary",
|
||||
"emoteMarkdown" : "↩️",
|
||||
"metaConfig": {
|
||||
"persistCallback": false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user