{% set types = item_data.types if item_data.types is iterable and item_data.types is not string else [] %}
{% 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 %}
{{ item_data.ssh_user or '—' }} {{ item_data.mac or '—' }}