{% load highlight %} {% load thread_tags %}

{{ result.object.title }} Incumbent: {% if result.object.incumbent %} {{ result.object.incumbent|display_user:user }} {% else %}none{% endif %}

{% if result.object.email %}
E-mail: {{ result.object.email }}
{% elif result.object.incumbent.email_visible and result.object.incumbent.user.email %}
Personal E-mail: {{ result.object.incumbent.user.email }}
{% endif %} {% if result.object.incumbent.phone_visible and result.object.incumbent.phone_number %}
Personal Phone: {{ result.object.incumbent.phone_number }}
{% endif %}
{% highlight result.text with query %}