Tourist informationen

The tourist information offices of the region have various information and other offers ready for you.

An error occurred while processing the template.
Java method "com.liferay.portal.json.JSONFactoryImpl.createJSONObject(String)" threw an exception when invoked on com.liferay.portal.json.JSONFactoryImpl object "com.liferay.portal.json.JSONFactoryImpl@10645f9a"; see cause exception in the Java stack trace.

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #assign jsonObject = jsonFactoryUtil...  [in template "38852" in function "getBasedataValues" at line 73, column 5]
	- Reached through: @getValues entry=entry; valueMap  [in template "20101#20129#6936816" at line 8, column 17]
----
1<#assign entryHelperTemplateKey=38852 > 
2<#include templatesPath + "/" + entryHelperTemplateKey /> 
3 
4<#if entries?has_content> 
5    <div class="card col-12 mb-4 ttg-asset-list liferay-assets p-0"> 
6        <ul class="list-unstyled"> 
7            <#list entries as entry> 
8                <@getValues entry=entry; valueMap> 
9                    <li class="list-item"> 
10                    <a href="${valueMap.link}" class="text-decoration-none d-block" <#if valueMap.externalContent!false>target="_blank" </#if> > 
11                        <div class="${valueMap.type!""} ${(entry?index < (entries?size -1))?then('border-bottom', '')} mx-3 py-3 list-item"> 
12                          <div class="d-flex align-items-center"> 
13                            <#assign typesWithData = ['basedata-poi', 'basedata-infrastructure', 'basedata-foodlodging', 'basedata-event'] > 
14                            <#assign hasAdditionalData = ( 
15                                (valueMap.type?? && typesWithData?seq_index_of(valueMap.type) > -1) && 
16
17                                    (valueMap.addressStreetAddress?? && valueMap.addressStreetAddress?has_content) || 
18                                    (valueMap.addressPostalCode?? && valueMap.addressPostalCode?has_content) || 
19                                    (valueMap.addressLocality?? && valueMap.addressLocality?has_content) || 
20                                    (valueMap.startDate?? && valueMap.startDate?has_content) || 
21                                    (valueMap.endDate?? && valueMap.endDate?has_content) 
22
23                            ) > 
24 
25                            <div class="mr-3 list-item-thumbnail" style="${(valueMap.imgSrc?? && valueMap.imgSrc?has_content)?then('background-image: url('+valueMap.adaptiveMediaSrc(valueMap, "Thumbnail-300x300")+');', '')}"></div> 
26 
27                            <div class="list-item-title"> 
28                                <h5>${valueMap.headline!""}</h5> 
29                                <#if valueMap.subHeadline??> 
30                                    <div class="text-small list-item-subheadline text-primary"> 
31                                        ${valueMap.subHeadline!""} 
32                                    </div> 
33                                </#if> 
34                            </div> 
35 
36                            <#if hasAdditionalData > 
37                                <div class="list-item-toggler text-primary" ><@liferay_aui.icon image="angle-down" markupView="lexicon"/></div> 
38                            </#if> 
39                          </div> 
40 
41                          <#if hasAdditionalData > 
42                            <div class="list-item-content pad-left"> 
43                                <#-- Details for different content types --> 
44                                <div class="list-item-text collapse"> 
45 
46                                    <#-- Event Data --> 
47                                    <#if valueMap.type == 'basedata-event' && (valueMap.startDate?? || valueMap.endDate??) > 
48                                        <#assign currentLocale = locale.getLanguage() > 
49 
50                                        <#setting datetime_format = "iso s nz"> 
51                                        <#assign dateDisplay = "dd.MM.yyyy"> 
52                                        <#assign timeDisplay = "HH:mm"> 
53                                        <#assign dateTimeDisplay = dateDisplay + ", " + timeDisplay> 
54                                        <#assign dateCompare = "yyyy-MM-dd"> 
55 
56                                        <#if currentLocale?? && currentLocale != 'de'> 
57                                          <#assign dateDisplay = dateCompare > 
58                                        </#if> 
59 
60                                        <#assign start = valueMap.startDate > 
61                                        <#assign end = valueMap.endDate > 
62 
63                                        <p class="mt-2 mb-0"> 
64                                            <#-- single day --> 
65                                            <#if (start?? && start?has_content && start?is_date_like) && 
66                                                 (end?? && end?has_content && end?is_date_like) && 
67                                                 (end?string[dateCompare] == start?string[dateCompare]) > 
68                                                <strong> 
69                                                    ${start?string[dateDisplay]}, 
70                                                    ${start?time_if_unknown?string[timeDisplay]} - $end?time_if_unknown?string[timeDisplay]} 
71                                                </strong> 
72 
73                                            <#-- multiple days --> 
74                                            <#elseif start?? && start?has_content> 
75                                                <#attempt> 
76                                                  <strong> 
77                                                      ${start?datetime?string[dateTimeDisplay]} 
78                                                      <#if end?? && end?has_content> 
79                                                      - ${end?datetime?string[dateTimeDisplay]} 
80                                                      </#if> 
81                                                  </strong> 
82                                                <#recover> 
83                                                  <strong> 
84                                                      ${start?date(dateCompare)?string[dateDisplay]} 
85                                                      <#if end?? && end?has_content> 
86                                                      - ${end?date(dateCompare)?string[dateDisplay]} 
87                                                      </#if> 
88                                                  </strong> 
89                                                </#attempt> 
90                                            </#if> 
91                                        </p> 
92                                    </#if> 
93 
94                                    <#-- Address Data --> 
95                                    <#if valueMap.addressStreetAddress?? || valueMap.addressPostalCode?? || valueMap.addressLocality?? > 
96                                        <p class="mt-2 mb-0"> 
97                                            <#if valueMap.addressStreetAddress?? && valueMap.addressStreetAddress?has_content> 
98                                                ${valueMap.addressStreetAddress}<br> 
99                                            </#if> 
100                                            <#if (valueMap.addressPostalCode?? && valueMap.addressPostalCode?has_content) || 
101                                                valueMap.addressLocality?? && valueMap.addressLocality?has_content > 
102                                                ${valueMap.addressPostalCode!""} ${valueMap.addressLocality!""}<br> 
103                                            </#if> 
104                                        </p> 
105                                    </#if> 
106 
107                                </div> 
108 
109                            </div> 
110                          </#if> 
111 
112                        </div> 
113                    </a> 
114                    </li> 
115                </@getValues> 
116            </#list> 
117        </ul> 
118	</div> 
119</#if>