{% if flash %}
✓ {{ flash }}
{% endif %} {% if install_error %}
{{ t('plugins.market_install_error') }}: {{ install_error }}
{% endif %}
⟳ {{ t('plugins.market_refresh') }}

{{ t('plugins.market_source_label') }}: {{ source }} — {% if source_is_dir %}{{ t('plugins.market_mirror_note') }}{% else %}{{ t('plugins.market_signed_note') }}{% endif %} {% if generated_at %} · {{ t('plugins.market_generated') }}: {{ generated_at }}{% endif %}

{% if error %}
{{ t('plugins.market_error') }}: {{ error }}
{% elif not rows %}

{{ t('plugins.market_empty') }}

{% else %} {% for r in rows %}
{{ r.name }} {% if r.installed %} ✓ {{ t('plugins.market_installed_badge') }} {{ r.installed }} {% endif %} {% if r.update_available %} ↑ {{ t('plugins.market_update_badge', v=r.version) }} {% endif %} {{ t('plugins.col_ports') }}: {{ r.ports|join(', ') or '—' }}
{% if r.summary %}

{{ r.summary }}

{% endif %}

{% if r.version %} {{ t('plugins.market_latest') }}: {{ r.version }} · etki-api: {{ r.api_compat }} {% if r.released_at %} · {{ t('plugins.market_released') }}: {{ r.released_at }}{% endif %} {% else %} {{ t('plugins.market_no_compat', api=api_version, ranges=r.ranges) }} {% endif %}

{{ t('plugins.market_caps') }}: {% if r.caps.network %}{{ t('plugins.market_caps_network') }} · {% endif %}{% if r.caps.external_write %}{{ t('plugins.market_caps_external_write') }} · {% endif %}{{ t('plugins.market_caps_fs') }}: {{ r.caps.filesystem }} {% if r.caps.endpoints %} · {{ t('plugins.market_caps_endpoints') }}: {{ r.caps.endpoints|join(', ') }}{% endif %} {% if r.caps.notes %} · {{ r.caps.notes }}{% endif %}

{% if r.repo or r.report %}

{% if r.repo %}{{ t('plugins.market_repo') }} ↗{% endif %} {% if r.report %}{{ t('plugins.market_report') }} ↗{% endif %}

{% endif %} {% if r.version %}
{{ r.cmd }} {% if ui_install and (not r.installed or r.update_available) %}
{% endif %}
{% endif %}
{% endfor %} {% endif %}

{{ t('plugins.market_ui_note') if ui_install else t('plugins.market_cli_note') }}