Update Post.xml

This commit is contained in:
n1rwana 2023-08-03 23:31:50 +03:00
parent da863c25f3
commit a5f1433207

View file

@ -32,4 +32,11 @@
<a n:if="$canDelete ?? false" class="profile_link" style="display:block;width:96%;" href="/wall{$post->getPrettyId()}/delete">{_delete}</a>
</div>
{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}