{% if interactive %}
{% if is_granted('IS_AUTHENTICATED_FULLY') %}
{% set count = credits > 0 ? credits : 0 %} {{ 'credit.balance'|trans({'%count%': count, 'count': count}) }}
{% endif %}
{% if is_granted('IS_AUTHENTICATED_FULLY') and not credits > 0 %}
{% endif %}
{% endif %} {% if this.results is not empty %} {% if this.selectMode %}
{% else %} {# Show message to anonymous users about limited results #} {% if not is_granted('IS_AUTHENTICATED_FULLY') and this.results is not empty %}

Showing limited results (5 articles)

Sign in to see more results and unlock full search capabilities!

Sign In
{% endif %} {% endif %} {% elseif this.query is not empty %}

{{ 'text.noResults'|trans }}

{% endif %}