You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: bundles/org.zikula.modulestudio.generator/src/org/zikula/modulestudio/generator/cartridges/symfony/controller/javascript/GeoFunctions.xtend
Copy file name to clipboardExpand all lines: bundles/org.zikula.modulestudio.generator/src/org/zikula/modulestudio/generator/cartridges/symfony/view/pages/view/ViewMap.xtend
+5-1Lines changed: 5 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -42,7 +42,7 @@ class ViewMap {
42
42
</div>
43
43
«(newIndexPagesHelper).pagerCall(it)»
44
44
{%for «name.formatForCode» in items|filter(i => i.latitude|default!=0 and i.longitude|default!=0) %}
45
-
<div class="map-marker-definition" data-latitude="{{ «name.formatForCode».latitude|e('html_attr') }}" data-longitude="{{ «name.formatForCode».longitude|e('html_attr') }}" data-title="{{ «name.formatForCode»|«appName.formatForDB»_formattedTitle|e('html_attr') }}" data-image="«IF null !== getMapImageField»{% if «name.formatForCode».«getMapImageField.name.formatForCode» is not empty and «name.formatForCode».«getMapImageField.name.formatForCode»Meta|default %}{{ «name.formatForCode».«getMapImageField.name.formatForCode»Url|e('html_attr') }}{% endif %}«ENDIF»" data-detail-url="«IF hasDetailAction»{{ path('«appName.formatForDB»_«name.formatForCode»_detail'«routeParams(name.formatForCode, true)»)|e('html_attr') }}«ENDIF»"></div>
«IFnull!== getMapImageField»{%if «name.formatForCode».«getMapImageField.name.formatForCode» is not empty and «name.formatForCode».«getMapImageField.name.formatForCode»Meta|default%}{{ «name.formatForCode».«getMapImageField.name.formatForCode»Url|e('html_attr') }}{% endif %}«ENDIF»
58
+
'''
59
+
56
60
def private getMapImageField(Entity it) {
57
61
if (getUploadFieldsEntity.filter[isOnlyImageField].empty) {
0 commit comments