mirror of
https://github.com/Sheldan/Sissi.git
synced 2026-01-03 16:27:48 +00:00
[SIS-xxx] adding rendering of current Debra donation information
updating for Debra 2023 campaign adding internal rest api for debra information adding a debra button to receive information
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
{
|
||||
<#setting locale="de_DE">
|
||||
"additionalMessage": "<@safe_include "debraInfoButton_text"/>",
|
||||
"buttons": [
|
||||
{
|
||||
"label": "<@safe_include "debraInfoButton_button_label"/>",
|
||||
"id": "${buttonId}",
|
||||
"buttonStyle": "success"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"additionalMessage": "<@safe_include "debraInfoButton_response_text"/>",
|
||||
"messageConfig": {
|
||||
"ephemeral": true
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
<#setting locale="de_DE">
|
||||
"additionalMessage": "<@safe_include "debraInfoMessage_text"/>"
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
<#setting locale="de_DE">
|
||||
"additionalMessage": "<@safe_include "debraInfoMessage_response_text"/>",
|
||||
"messageConfig": {
|
||||
"ephemeral": true
|
||||
}
|
||||
}
|
||||
@@ -25,7 +25,7 @@
|
||||
"buttons": [
|
||||
{
|
||||
"label": "<@safe_include "debra_donation_notification_link_button_label"/>",
|
||||
"url": "http://tiny.cc/schmetterling2022",
|
||||
"url": "http://tiny.cc/schmetterling2023",
|
||||
"buttonStyle": "link",
|
||||
"metaConfig": {
|
||||
"persistCallback": false
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
"title": "${title}",
|
||||
"url": "${url}"
|
||||
},
|
||||
"description": "${url}<#if description?has_content>\n${description}</#if>",
|
||||
"description": "${url?json_string}<#if description?has_content>\n${description?json_string}</#if>",
|
||||
"footer": {
|
||||
"text": "${category}"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user