diff --git a/Web/Presenters/templates/Wall/Post.xml b/Web/Presenters/templates/Wall/Post.xml index 28855d0d..8791905c 100644 --- a/Web/Presenters/templates/Wall/Post.xml +++ b/Web/Presenters/templates/Wall/Post.xml @@ -32,4 +32,11 @@ {_delete} + + {if $post->getGeo()} + {script "js/node_modules/leaflet/dist/leaflet.js"} + {css "js/node_modules/leaflet/dist/leaflet.css"} + {script "js/node_modules/leaflet-control-geocoder/dist/Control.Geocoder.js"} + {css "js/node_modules/leaflet-control-geocoder/dist/Control.Geocoder.css"} + {/if} {/block}