{#
remotes/partials/card_body.html
Card-Meta-Inhalt für ein einzelnes Remote-Gerät (wird per content_template
in list_wrapper_inner.html eingebunden).
Variablen: item_name, item_data (aus list_wrapper_inner.html)
#}
{% if item_data.mac %}
MAC{{ item_data.mac }}
{% endif %}
Host / IP{{ item_data.host or '—' }}SSH-Benutzer{{ item_data.ssh_user or 'root' }}
{% set types = item_data.types if item_data.types is iterable and item_data.types is not string else [] %}
{% if types %}
Typen
{% for t in types %}
{% if t == 'borg_source' %}
Borg Source
{% elif t == 'borg_target' %}
Borg Target
{% elif t == 'rsync' %}
Rsync
{% elif t == 'proxmox_node' %}
Proxmox Node
{% elif t == 'proxmox_host' %}
Proxmox Host
{% elif t == 'proxmox_backup' %}
Proxmox Backup
{% else %}
{{ t }}
{% endif %}
{% endfor %}
{% endif %}