{% extends 'creme_core/bricks/base/base.html' %} {% load i18n creme_bricks geolocation_tags %} {% block brick_extra_class %}geolocation-brick geolocation-neighbours-brick{% endblock %} {% block brick_header_title %} {% brick_header_title title=_('Around this place') %} {% endblock %} {% block brick_script %} {% if ref_addresses and not object.is_deleted %} {% block brick_geolocation_script %}{% endblock %} {% endif %} {% endblock %} {% block brick_content %} {% if object.is_deleted %}
{% translate 'The geolocation feature is disabled for the entities in the trash' %}
{% elif not ref_addresses %}
{% translate 'No address defined for now' %}
{% else %}
{% translate 'None of' %}   {% translate 'around' %}    {% blocktranslate with radius_distance=radius|geolocation_distance %}within a radius of {{radius_distance}}.{% endblocktranslate %}
{% block brick_geomap_error %}{% endblock %}
{% endif %} {% endblock %}