{% load i18n l10n %} {% load static %} {% if result.get_full_name %} {{ result.highlight.get_full_name|safe }} {% if result == request.user %} (You) {% endif %}
{{ result.username|safe }}
{{ result.highlight.email|safe }}
{% else %} {% firstof result.highlight.email|safe result.highlight.username|safe %} {% if result == request.user %} (You) {% endif %} {% endif %}