{% extends "base.html" %} {% load i18n %} {% load translations %} {% load crispy_forms_tags %} {% block breadcrumbs %} {% if project %}
  • {{ project.name }}
  • {% if component %} {% include "snippets/component-breadcrumb.html" with object=component %} {% endif %} {% if language %}
  • {{ language }}
  • {% endif %} {% elif language %}
  • {{ language }}
  • {% endif %}
  • {% trans "Search" %}
  • {% endblock %} {% block content %} {% if show_results %}
    {% crispy search_form %}
    {% if page_obj.object_list %} {% include "snippets/embed-units.html" with units=page_obj.object_list hide_context=True include_search=True force_source=True show_translation=True %} {% include "paginator.html" %} {% else %} {% trans "No matching strings found." as msg %} {% show_message "info" msg %} {% endif %} {% else %}
    {% include "snippets/search-form.html" %}
    {% endif %} {% endblock %}