{%- import '_macros_site.html' as macros_site with context -%} {%- import 'geoip/_macros.html' as macros_geoip with context -%} {%- if search_item %} {%- if search_result %}
{{ _('Following table contains all available GeoIP records from city database related to this object:') | safe }}
{{ macros_geoip.render_result_city(search_result) }} {%- else %} {%- call macros_site.render_alert('info', False) %} {{ _('There are no records for %(item_id)s in GeoIP city service.', item_id = search_item) | safe }} {%- endcall %} {%- endif %} {%- endif %}