{% load util i18n static %} {% with page_title=request|make_page_title_for_search_result %} {% include 'site/header.html' %} {% endwith %} {% include 'site/view_header.html' %}
{% if search_version == 2 %}

{% blocktrans with feedback="https://forms.gle/TYJgvrCGvyTCiaCY8" q="/search?q="|add:request.GET.q %} You are using our new beta search interface. Click here to return to the old interface. Click here to provide feedback. {% endblocktrans %}

{% if "location" in geo and "country" in geo %} {% with qc=query_combined location=geo.location country=geo.country dist=geo.dist state=geo.state %} {% trans "Showing results for" %} {{ qc }} {% trans "in" %} {% if location %}{{ location }}, {% endif %}{% if state %}{{ state }}, {% endif %}{{ country }} {% if location %}{% trans "within" %} {{ dist }}{% endif %} {% endwith %} {% elif "lat" in geo and "long" in geo %} {% if proximity_entity %} {% with qc=query_combined name=proximity_entity.name ref_tag=proximity_entity.ref_tag id=proximity_entity.id dist=geo.dist%} {% trans "Showing results for" %} {{ qc }} {% trans "near" %} {{ name }} [{{ ref_tag }}] {% trans "within" %} {{ dist }} {% endwith %} {% else %} {% with qc=query_combined lat=geo.lat long=geo.long dist=geo.dist %} {% trans "Showing results for" %} {{ qc }} {% trans "near" %} {{ lat }},{{ long }} {% trans "within" %} {{ dist }} {% endwith %} {% endif %} {% else %} {% with qc=query_combined %} {% if qc %} {% trans "Showing results for" %} {{ qc }} {% endif %} {% endwith %} {% endif %} {% if incomplete_in_search %}

{% with qc=query_combined %} {% trans "Could not resolve the location you provided: " %}{{ incomplete_in_search }} {% endwith %}

{% endif %}
{% endif %}
{% trans "Exchanges" %} ({{ count_ixp }})
{% for row in search_ixp %}
{{row.name}} {% if row.sponsorship %} {% endif %} {% if row.sub_name %}
{{ row.sub_name }}
{% endif %}
{% endfor %}
{% trans "Networks" %} ({{ count_net }})
{% for row in search_net%}
{{row.name}} {% if row.sponsorship %} {% endif %} {% if row.sub_name %}
{{ row.sub_name }}
{% endif %}
{% endfor %}
{% trans "Facilities" %} ({{ count_fac }})
{% for row in search_fac %}
{{row.name}}{% if row.campus %}{% endif %} {% if row.sponsorship %} {% endif %} {% if row.sub_name %}
{{ row.sub_name }}
{% endif %}
{% endfor %}
{% trans "Organizations" %} ({{ count_org }})
{% for row in search_org %}
{{row.name}} {% if row.sponsorship %} {% endif %} {% if row.sub_name %}
{{ row.sub_name }}
{% endif %}
{% endfor %}
{% if request.user.is_verified_user %}
{% endif %}
{% include 'site/footer.html' %}