{%- import '_macros_site.html' as macros_site with context -%} {%- import 'geoip/_macros.html' as macros_geoip with context -%} {%- if search_item %} {%- if search_result %}

{{ macros_geoip.get_city_title() }}

{{ macros_geoip.render_result_city(search_result) }} {{ macros_geoip.maxmind_attribution() }} {%- 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 %}