mirror of
https://github.com/Sheldan/abstracto-templates.git
synced 2026-04-14 19:56:30 +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">,
|
<#include "abstracto_color">,
|
||||||
<#assign id>${suggestionId}</#assign>
|
<#assign id>${suggestionId}</#assign>
|
||||||
<#if autoEvaluationEnabled>
|
<#if autoEvaluationEnabled>
|
||||||
<#assign suggestionAutoEvaluateDate><@format_instant_date_time instant=autoEvaluationTargetDate/></#assign>
|
<#assign suggestionAutoEvaluateDate><@format_instant_relative instant=autoEvaluationTargetDate/></#assign>
|
||||||
</#if>
|
</#if>
|
||||||
"description": "${text?json_string}<#if autoEvaluationEnabled><@safe_include "suggest_auto_evaluation_hint"/></#if>",
|
"description": "${text?json_string}<#if autoEvaluationEnabled><@safe_include "suggest_auto_evaluation_hint"/></#if>",
|
||||||
<#if attachmentURL?has_content>
|
<#if attachmentURL?has_content>
|
||||||
@@ -25,6 +25,7 @@
|
|||||||
{
|
{
|
||||||
"label": "<@safe_include "suggest_button_agree_label"/>",
|
"label": "<@safe_include "suggest_button_agree_label"/>",
|
||||||
"id": "${agreeButtonModel.buttonId}",
|
"id": "${agreeButtonModel.buttonId}",
|
||||||
|
"emoteMarkdown" : "👍",
|
||||||
"buttonStyle": "success",
|
"buttonStyle": "success",
|
||||||
"metaConfig": {
|
"metaConfig": {
|
||||||
"persistCallback": false
|
"persistCallback": false
|
||||||
@@ -34,6 +35,7 @@
|
|||||||
"label": "<@safe_include "suggest_button_disagree_label"/>",
|
"label": "<@safe_include "suggest_button_disagree_label"/>",
|
||||||
"id": "${disAgreeButtonModel.buttonId}",
|
"id": "${disAgreeButtonModel.buttonId}",
|
||||||
"buttonStyle": "danger",
|
"buttonStyle": "danger",
|
||||||
|
"emoteMarkdown" : "👎",
|
||||||
"metaConfig": {
|
"metaConfig": {
|
||||||
"persistCallback": false
|
"persistCallback": false
|
||||||
}
|
}
|
||||||
@@ -42,6 +44,7 @@
|
|||||||
"label": "<@safe_include "suggest_button_reset_vote_label"/>",
|
"label": "<@safe_include "suggest_button_reset_vote_label"/>",
|
||||||
"id": "${removeVoteButtonModel.buttonId}",
|
"id": "${removeVoteButtonModel.buttonId}",
|
||||||
"buttonStyle": "secondary",
|
"buttonStyle": "secondary",
|
||||||
|
"emoteMarkdown" : "↩️",
|
||||||
"metaConfig": {
|
"metaConfig": {
|
||||||
"persistCallback": false
|
"persistCallback": false
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
|
|
||||||
Auto evaluated at: ${suggestionAutoEvaluateDate}
|
> Voting end: ${suggestionAutoEvaluateDate}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
Percentage at which suggestions are evaluated as accepted. Default: ${defaultValue}
|
||||||
Reference in New Issue
Block a user