{%- import '_macros_site.html' as macros_site with context -%} {%- macro render_result_abuse(whois_result) %}
{% if 'netname' in item %} {{ item['netname'] }}: {% endif %} {{ item['network'] }}
{{ _("Group") }}: {{ item['abuse_group'] }} {{ macros_site.render_widget_csag_abuse([item['abuse_group']], without_label=True) }}
{% if 'rank' in item %}{{ 'Rank' }}: {{ item['rank'] }}
{% endif %} {% if item.get('description') %}{{ _("Description") }}: {{ item['description'] }}
{% endif %} {% if item['is_base'] %}{{ 'Base network.' }}
{% endif %}{{ _("Source") }}: {{ item['source'] }}
{{ get_icon('action-show') }} {{ _("Show network record details") }}