- <dt>{{ _("Country") }}</dt>
- <dd>
- {% if peer %}
- {% if peer.country_name %}
- {{ peer.country_name }} ({{ peer.country }})
- {% else %}
- {{ peer.country_name }}
- {% end %}
- {% else %}
- <span class="text-muted">{{ _("Unkown") }}</span>
- {% end %}
- </dd>
+ {% if address.country_code %}
+ <dt>{{ _("Country") }}</dt>
+ <dd>
+ {{ format_country_name(address.country_code) }}
+ </dd>
+ {% end %}