{% load i18n %}
{% load highlight %}

{% if perms.mediafile.can_see %}
    <li>
        <a href="{{ result.object.get_absolute_url }}">{{ result.object }}</a><br>
        <span class="app">{% trans "File" %}</a></span><br>
        {% highlight result.text with request.GET.q %}
    </li>
{% endif %}
