{% extends "./layout/default" %} {% block breadcrumbs %} {{ Breadcrumbs.renderIfExists(Route.getCurrentRoute.getName, query) }} {% endblock %} {% block content %} {% if query == "" %}

{{ 'no_results_for_empty_search'|_ }}

{% endif %} {% if query %}

{{ trans('firefly.results_limited', {count: limit}) }}

{% if result.transactions|length > 0 %}

{{ 'transactions'|_ }}

{{ trans('firefly.search_found_transactions', {count: result.transactions|length}) }}

{% include 'search.partials.transactions' with {'transactions' : result.transactions} %}
{% endif %} {% if result.categories|length > 0 %}

{{ 'categories'|_ }}

{{ trans('firefly.search_found_categories', {count: result.categories|length}) }}

{% include 'search.partials.categories' %}
{% endif %} {% if result.tags|length > 0 %}

{{ 'tags'|_ }}

{{ trans('firefly.search_found_tags', {count: result.tags|length}) }}

{% include 'search.partials.tags' %}
{% endif %} {% if result.accounts|length > 0 %}

{{ 'accounts'|_ }}

{{ trans('firefly.search_found_accounts', {count: result.accounts|length}) }}

{% include 'search.partials.accounts' %}
{% endif %} {% if result.budgets|length > 0 %}

{{ 'budgets'|_ }}

{{ trans('firefly.search_found_budgets', {count: result.budgets|length}) }}

{% include 'search.partials.budgets' %}
{% endif %}
{% endif %} {% endblock %} {% block scripts %} {% endblock %} {% block styles %} {% endblock %}