{% extends "reinhardt/_base.html" %} {% load reinhardt_extras %} {% load i18n %} {% block head_title %}{% translate "search" %}{% endblock %} {% block main %}
{% if q %}

recherche de {{ q }} - {% translate "results" %}

{% if not has_results %}

{% translate "no results" %}

{% endif %}
{% if found_albums|length %}
{% translate "albums" %} ({{ found_albums|length }})
{% for album in found_albums %} {{ album }} {% endfor %}
{% endif %} {% if found_genres|length %}
{% translate "genres" %} ({{ found_genres|length }})
{% for genre in found_genres %} {{ genre }} {% endfor %}
{% endif %} {% if found_artists|length %}
{% translate "artists" %} ({{ found_artists|length }})
{% for artist in found_artists %} {{ artist }} {% endfor %}
{% endif %} {% if total_count %}
{% translate "tracks" %} ({{ total_count }}) {% if total_count > 1000 %} {% endif %} {% with go_to_album=True %} {% include "reinhardt/_music_files_list.html" %} {% endwith %}
{% endif %}
{% else %}
{% translate "empty request" %}
{% endif %} {% endblock main %}