{% extends 'base.html' %}{% block content %}

{{ t('software.asset_title', 'Software: {name}').replace('{name}', asset.name) }}

{% if is_admin and asset.mesh_node_id %}
{% endif %}{{ t('software.back_to_asset') }}

{{ t('software.installed') }}

{% if software %}{{ t('software.inventory_count', '{count} software entries stored.', count=software|length) }}{% else %}{{ t('software.inventory_not_initialized') }}{% endif %}

{{ software|length }}
{% for s in software %}{% else %}{% endfor %}
{{ t('common.name') }}{{ t('about.version') }}{{ t('software.publisher') }}{{ t('software.architecture') }}{{ t('software.install_date') }}{{ t('software.last_seen') }}
{{ s.name }}{{ s.version }}{{ s.publisher }}{{ s.architecture }}{{ s.install_date or '' }}{% if s.last_seen_at %}{% else %}{{ '' }}{% endif %}
{{ t('software.inventory_not_initialized') }}{{ t('software.inventory_initialize_help') }}

{{ t('software.jobs') }}

{% for j in jobs %}{% else %}{% endfor %}
{{ t('software.time') }}{{ t('jobs.type') }}{{ t('jobs.action') }}{{ t('jobs.priority') }}{{ t('software.status') }}{{ t('software.message') }}{{ t('software.log') }}{{ t('jobs.actions') }}
{% if j.created_at %}{% else %}{{ '' }}{% endif %}{{ t(j.display_job_type_key, j.display_job_type_fallback) }}{{ t('jobs.action.' ~ j.action, j.action) }}{{ j.priority }}{{ t('software.status.' ~ j.status, j.status) }}{{ j.message or '' }}{{ t('software.show') }}{% if is_admin and j.status not in ['sending', 'running'] %}
{% else %}{% endif %}
{{ t('software.no_jobs') }}
{% endblock %}