{% extends "base.html" %} {% load crispy_forms_tags i18n translations %} {% block breadcrumbs %} {% if path_object %} {% path_object_breadcrumbs path_object %}
  • {% translate "Search" %}
  • {% else %}
  • {% translate "Search" %}
  • {% endif %} {% endblock breadcrumbs %} {% block content %} {% if show_results %}
    {% crispy search_form %}
    {% if page_obj.object_list %}

    {{ total_strings }} {% translate "strings" %} / {{ total_words }} {% translate "words" %}

    {% include "snippets/embed-units.html" with units=page_obj.object_list include_search=True force_source=True show_translation=True %} {% include "paginator.html" %} {% else %} {% translate "No matching strings found." as msg %} {% show_message "info" msg %} {% endif %} {% else %}
    {% include "snippets/search-form.html" %}
    {% endif %} {% endblock content %}