{% extends "base.html" %} {% block page_title %}{{ _('Search Results') }}{% endblock %} {% block body_id %}search{% endblock %} {% block body_class %} {{ super() }} search-page {% endblock %} {% block search %}{% endblock %} {% block content %} {% if not user.is_authenticated() or not user.userprofile.is_vouched %}

{{ _('You are currently searching public profiles.') }} {% if not user.is_authenticated() %} {% trans next_url=request.get_full_path(), title=_('Sign In'), login_url=nonprefixed_url('oidc_authentication_init') %} View more results by logging in. {% endtrans %} {% else %} {{ _('View more results when vouched.') }} {% endif %}

{% endif %}

{{ _('Search') }}

{{ field_with_attrs(form.q, placeholder=_('Search for people, groups and more')) }} {{ form.limit }} {% if user.is_authenticated() %}
{{ form.models }}
{% endif %} {% if form.errors %} {% for error in form.errors['q'] %}
{{ error }}
{% endfor %} {% endif %}
{% if not form.cleaned_data or form.errors%}
{% trans %}

Search for a Mozillian or a group

You can search for another Mozillian using their name, email, username and bio keywords or you can search for groups by name and group membership status.

{% endtrans %}
{% else %} {% if page_obj.object_list %} {% if country or region or city %}

{{ _('Mozillians in') }} {% for name in [region, city] %} {% if name %}{{ name }},{% endif %} {% endfor %} {{ country }}

{% else %}

{{ _('Results') }}

{% endif %}

{% trans count=page_obj.paginator.count %} {{ count }} entry matching {% pluralize %} {{ count }} entries matching {% endtrans %} {% if form.cleaned_data.q %} "{{ form.cleaned_data.q }}" {% endif %}

{% with items=page_obj %} {% include 'includes/pagination.html' %} {% endwith %}
{% for result in page_obj.object_list %} {{ search_result(result) }} {% endfor %}
{% with items=page_obj %} {% include 'includes/pagination.html' %} {% endwith %} {% else %}

{{ _('Sorry we cannot find a') }} {% if form.cleaned_data.is_group_query %} {{ _('group') }} {% endif %} {% if form.cleaned_data.is_group_query and form.cleaned_data.is_profile_query %} {{ _('or') }} {% endif %} {% if form.cleaned_data.is_profile_query %} {{ _('profile') }} {% endif %} {% trans %} related to "{{ query }}". {% endtrans %}

{% if user.is_authenticated() %}

{% trans invite=url('phonebook:invite') %} Maybe they're not a Mozillian yet? Invite this person to create a profile. {% endtrans %}


{% if user.userprofile.is_vouched %}

{{ _('Need help? Contact a steward in a functional area!') }}

{% endif %} {% endif %}
{% endif %} {% endif %} {% endblock %} {% block page_js %} {% compress js %} {% endcompress %} {% endblock %}