{% extends 'base.html' %} {% load seahub_tags avatar_tags i18n %} {% load url from future %} {% block extra_style %} {% endblock %} {% block main_content %}
{% if not error %} {% if not results %}

{% trans 'No result found' %}

{% else %}

{% blocktrans count counter=total %}{{ total }} result{% plural %}{{ total }} results{% endblocktrans%}

    {% for file in results %} {% if file.is_dir %}
  • {% trans {% else %}
  • {% trans
    {% endif %}
    {% if file.is_dir %} {{ file.name }} {% else %} {{ file.name }} {% endif %}
    {{ file.repo.name }}/{{ file.parent_dir }}
    {% if file.is_dir %} {{ file.last_modified|translate_seahub_time }} {% else %} {{ file.size|filesizeformat }} {{ file.last_modified|translate_seahub_time }} {% endif %} {% if file.content_highlight %}

    {{ file.content_highlight|safe }}

    {% endif %}
  • {% endfor %}
{% if total > per_page %}
{% if current_page != 1 %} {% endif %} {% if has_more %} {% endif %}
{% endif %} {% endif %} {% endif %}
{% endblock %} {% block extra_script %} {% endblock %}