{% set host = resolve_remote_host(item_data.remote_id) if item_data.remote_id else (item_data.host or '—') %} {% set _type = item_data.type or '' %} {% if _type == 'vzdump' %} Backup {% elif _type == 'sync' %} Sync {% elif _type == 'verify' %} Verify {% elif _type == 'prune' %} Prune {% elif _type %} {{ _type }} {% else %}—{% endif %} {{ host }}