{% load i18n %} {% comment %} Subnet / range / IP summary badges for the IP analyzer All row. counts: { count_subnets, count_ranges, count_ips, count_duplicates } diff_summary: optional { both, fund, ... } for diff-mode overlap badges {% endcomment %} Subnets: {{ counts.count_subnets|default:0 }} Ranges: {{ counts.count_ranges|default:0 }} IPs: {{ counts.count_ips|default:0 }} {% if counts.count_duplicates %}{% trans "Warnings" %}: {{ counts.count_duplicates }}{% endif %} {% if diff_summary %} {% if diff_summary.in_all %}{% trans "In all" %}: {{ diff_summary.in_all }}{% elif diff_summary.both %}{% trans "In both" %}: {{ diff_summary.both }}{% endif %} {% if diff_summary.in_some %}{% trans "In some" %}: {{ diff_summary.in_some }}{% endif %} {% if diff_summary.fund %}{% trans "Fund" %}: {{ diff_summary.fund }}{% endif %} {% endif %}