{% if fragment and selection.package %}{% if package or selected and selection.view == 'catalog' %}{% include "market/detail.html" %}{% else %}
{% endif %}{% endif %} {% if fragment %}{{ installed | length }}{% endif %} {% set target_name = chosen.name if chosen else t.text("market.server") %}
{% if failure is not none %}{% endif %} {% if selection.view == 'installed' and not checked %}{% endif %}
{% if selection.view == 'catalog' %} {% for item in entries %}{% include "market/catalog-card.html" %}{% else %}

{{ t.text("market.no_entries") }}

{% endfor %} {% else %} {% for item in listed_installed %}{% include "market/installed-card.html" %}{% else %}

{{ t.text("market.no_installed") }}

{% endfor %} {% endif %}