{%- 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_asn_title() }}
{{ macros_geoip.render_result_asn(search_result) }}
{{ macros_geoip.maxmind_attribution() }}
{%- else %}
{%- call macros_site.render_alert('info', False) %}
{{ _('There are no records for %(item_id)s in GeoIP ASN service.', item_id = search_item) | safe }}
{%- endcall %}
{%- endif %}
{%- endif %}