[AB-343] changing suggestion notification to contain a link button instead of having the link within the text

This commit is contained in:
Sheldan
2021-11-23 19:58:59 +01:00
parent d5e95babba
commit 134e2e0360
3 changed files with 13 additions and 2 deletions

View File

@@ -6,5 +6,15 @@
<#assign agreements=suggestionInfo.agreements> <#assign agreements=suggestionInfo.agreements>
<#assign disagreements=suggestionInfo.disagreements> <#assign disagreements=suggestionInfo.disagreements>
<#include "abstracto_color"/>, <#include "abstracto_color"/>,
"description": "<@safe_include "suggestionReminderJob_description"/>" "description": "<@safe_include "suggestionReminderJob_description"/>",
"buttons": [
{
"label": "<@safe_include "suggestionReminderJob_jump_button_label"/>",
"url": "${suggestionLink?json_string}",
"buttonStyle": "link",
"metaConfig": {
"persistCallback": false
}
}
]
} }

View File

@@ -1,2 +1,2 @@
Suggestion ${suggestionId} is due. It was created at ${suggestionDate} and can be found [here](${suggestionLink}). Suggestion ${suggestionId} is due. It was created at ${suggestionDate}.
Agreeing members: ${agreements}. Disagreeing members: ${disagreements}. Agreeing members: ${agreements}. Disagreeing members: ${disagreements}.