mirror of
https://github.com/Sheldan/Sissi.git
synced 2026-01-05 08:54:27 +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 time><@format_instant_long_date_time instant=meetupTime/></#assign>
|
||||||
<#assign timeRelative><@format_instant_relative instant=meetupTime/></#assign>
|
<#assign timeRelative><@format_instant_relative instant=meetupTime/></#assign>
|
||||||
|
|
||||||
|
<#if location?? && location != "%22%22">
|
||||||
"type": "section",
|
"type": "section",
|
||||||
"components": [
|
"components": [
|
||||||
{
|
{
|
||||||
"type": "textDisplay",
|
"type": "textDisplay",
|
||||||
"content": "<@safe_include "meetup_display_time_component"/>"
|
"content": "<@safe_include "meetup_display_time_component"/>"
|
||||||
}
|
}
|
||||||
]
|
],
|
||||||
<#if location?? && location != "%22%22">
|
"accessory": {
|
||||||
,"accessory": {
|
|
||||||
"type": "button",
|
"type": "button",
|
||||||
"label": "<@safe_include "meetup_message_location_button_label"/>",
|
"label": "<@safe_include "meetup_message_location_button_label"/>",
|
||||||
"url": "https://www.google.com/maps?q=${location?json_string}",
|
"url": "https://www.google.com/maps?q=${location?json_string}",
|
||||||
"buttonStyle": "link"
|
"buttonStyle": "link"
|
||||||
}
|
}
|
||||||
|
<#else>
|
||||||
|
"type": "textDisplay",
|
||||||
|
"content": "<@safe_include "meetup_display_time_component"/>"
|
||||||
</#if>
|
</#if>
|
||||||
}
|
}
|
||||||
<#macro decision_component button_id button_style label_template content_template user>
|
<#macro decision_component button_id button_style label_template content_template user>
|
||||||
|
|||||||
Reference in New Issue
Block a user