{% extends "search/_base.html" %} {% from "macros/box.html" import m_box_menu %} {% block content %}

{%- if not results %}

{{ _("Your query didn't find any results.") }}

{%- else %} {%- for hit in results %}
{{ hit.highlights('name')|safe or hit['name']}} {%- if (filtered_by_type|length) != 1 %} {{ friendly_fqcn(hit['object_type']) }} {%- endif %}

By {{ hit['creator_name'] }} - Last modification: {{ hit['updated_at']|datetimeformat }}
{%- if 'description' in hit %} {{ hit.highlights('description')|safe }} {%- endif %}

{%- endfor %} {%- endif %} {% endblock %} {% block sidebar %} {%- if by_object_type %} {% call m_box_menu(title=_('Filter by types')) %} {% endcall %} {%- endif %} {% endblock %}