{% if loc.type == "local" %}
Local
{% elif loc.type == "ssh" %}
SSH
{% else %}
Instance
{% endif %}
{{ loc.label }}
{% if loc.type == "instance" and loc.instance_url is defined %}
{{ loc.instance_url }}
{% endif %}
{% if loc.error %}
⚠
{{ loc.error }}
{% else %}
{% set ns = namespace(has_content=false) %}
{% for group in loc.groups %}
{% if group.archives %}{% set ns.has_content = true %}{% endif %}
{% endfor %}
{% if loc.orphaned %}{% set ns.has_content = true %}{% endif %}
{% if not ns.has_content %}
Aucune archive sur cette destination.
{% else %}
{% for group in loc.groups %}
{% if group.archives %}
{{ group.job.name }}
{{ group.job.type }}
rétention : {{ group.retention_label }}
| Archive |
Taille |
Date |
|
{% for arch in group.archives %}
| {{ arch.name }} |
{{ arch.size_human }} |
{{ arch.date_str }} |
|
{% endfor %}
{% endif %}
{% endfor %}
{% if loc.orphaned %}
Sans job associé
{{ loc.orphaned | length }} archive(s)
{% for arch in loc.orphaned %}
| {{ arch.name }} |
{{ arch.size_human }} |
{{ arch.date_str }} |
|
{% endfor %}
{% endif %}
{% endif %}
{% endif %}