mirror of
https://github.com/Sheldan/Sissi.git
synced 2026-01-26 19:21:43 +00:00
[SIS-16] additional features for meetups to:
define a location update properties being able to define which type of decisions should receive meetup notifications reference the meetup in a notification preparing for release
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"additionalMessage": "<@safe_include "changeMeetup_response_text"/>",
|
||||
"messageConfig": {
|
||||
"ephemeral": true
|
||||
}
|
||||
}
|
||||
@@ -8,6 +8,14 @@
|
||||
},
|
||||
"description": "<@format_instant_date_time instant=meetupTime/>
|
||||
${description?json_string}"
|
||||
<#if location?? && location != "%22%22">,
|
||||
"fields": [
|
||||
{
|
||||
"name": "<@safe_include "createMeetup_confirmation_location_field_title"/>",
|
||||
"value": "https://www.google.com/maps?q=${location?json_string}"
|
||||
}
|
||||
]
|
||||
</#if>
|
||||
}
|
||||
],
|
||||
"buttons": [
|
||||
|
||||
@@ -2,4 +2,7 @@
|
||||
<#assign userMentions><#list participants as user>${user.memberMention}<#sep>, </#list></#assign>
|
||||
"additionalMessage": "${userMentions?json_string}
|
||||
${notificationMessage}"
|
||||
<#if meetupMessageId??>,
|
||||
"referencedMessageId": ${meetupMessageId?c}
|
||||
</#if>
|
||||
}
|
||||
@@ -20,7 +20,6 @@
|
||||
"description": "<#if cancelled>~~</#if><@safe_include "meetup_display_description"/><#if cancelled>~~</#if>"
|
||||
}
|
||||
],
|
||||
<#if yesId?has_content && noId?has_content && maybeId?has_content && !cancelled>
|
||||
"buttons": [
|
||||
{
|
||||
"label": "<@safe_include "meetup_message_yes_button_label"/>",
|
||||
@@ -42,8 +41,14 @@
|
||||
"id": "${noId}",
|
||||
"buttonStyle": "danger"
|
||||
}
|
||||
<#if location?? && location != "%22%22">,
|
||||
{
|
||||
"label": "<@safe_include "meetup_message_location_button_label"/>",
|
||||
"url": "https://www.google.com/maps?q=${location?json_string}",
|
||||
"buttonStyle": "link"
|
||||
}
|
||||
</#if>
|
||||
],
|
||||
</#if>
|
||||
"messageConfig": {
|
||||
"allowsRoleMention": true
|
||||
}
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
Property has been updated.
|
||||
@@ -0,0 +1 @@
|
||||
Changes a property of a meetup
|
||||
@@ -0,0 +1,3 @@
|
||||
This command is used to change a property of a meetup.
|
||||
That can include: description, topic and location.
|
||||
In order to clear the location please enter "". It is not possible to clear the topic or the description.
|
||||
@@ -0,0 +1 @@
|
||||
The ID of the meetup to change a property of
|
||||
@@ -0,0 +1 @@
|
||||
The new value of the property
|
||||
@@ -0,0 +1 @@
|
||||
Description
|
||||
@@ -0,0 +1 @@
|
||||
Location
|
||||
@@ -0,0 +1 @@
|
||||
Topic
|
||||
@@ -0,0 +1 @@
|
||||
The property to change
|
||||
@@ -0,0 +1 @@
|
||||
Location
|
||||
@@ -0,0 +1 @@
|
||||
Where the meetup should be. This will be used with a Google Maps search link in the display.
|
||||
@@ -0,0 +1 @@
|
||||
Maybe
|
||||
@@ -0,0 +1 @@
|
||||
No time
|
||||
@@ -0,0 +1 @@
|
||||
No
|
||||
@@ -0,0 +1 @@
|
||||
Yes
|
||||
@@ -0,0 +1 @@
|
||||
The decision of the people to be notified
|
||||
Reference in New Issue
Block a user