{%- import '_macros_site.html' as macros_site with context -%}
{%- import 'dnsr/_macros.html' as macros_dnsr with context -%}
{%- if search_item %}
{%- if search_result %}
{{ macros_dnsr.get_title() }}
{{ macros_dnsr.render_result_hostname(search_result) }}
{%- else %}
{%- call macros_site.render_alert('info', False) %}
{{ _('There are no records for %(item_id)s in DNS service.', item_id = search_item) | safe }}
{%- endcall %}
{%- endif %}
{%- endif %}