mirror of
https://github.com/Sheldan/Sissi.git
synced 2026-01-01 15:28:25 +00:00
[SIS-xxx] fixing meetup display without location
This commit is contained in:
@@ -17,20 +17,24 @@
|
||||
{
|
||||
<#assign time><@format_instant_long_date_time instant=meetupTime/></#assign>
|
||||
<#assign timeRelative><@format_instant_relative instant=meetupTime/></#assign>
|
||||
|
||||
<#if location?? && location != "%22%22">
|
||||
"type": "section",
|
||||
"components": [
|
||||
{
|
||||
"type": "textDisplay",
|
||||
"content": "<@safe_include "meetup_display_time_component"/>"
|
||||
}
|
||||
]
|
||||
<#if location?? && location != "%22%22">
|
||||
,"accessory": {
|
||||
],
|
||||
"accessory": {
|
||||
"type": "button",
|
||||
"label": "<@safe_include "meetup_message_location_button_label"/>",
|
||||
"url": "https://www.google.com/maps?q=${location?json_string}",
|
||||
"buttonStyle": "link"
|
||||
}
|
||||
<#else>
|
||||
"type": "textDisplay",
|
||||
"content": "<@safe_include "meetup_display_time_component"/>"
|
||||
</#if>
|
||||
}
|
||||
<#macro decision_component button_id button_style label_template content_template user>
|
||||
|
||||
Reference in New Issue
Block a user