{% if job.actual_device %}
Name
{{ job.actual_device.hostname }} (reports)
{% endif %} {% if job.requested_device_type %}
Requested type
{{ job.requested_device_type }} (reports)
{% endif %} {% for tag in job.tags.all %} {% if forloop.first %}
Required Tag{{ forloop.revcounter|pluralize }}
{% endif %}
{{ tag.name }}{% if tag.description %}(?){% endif %}
{% endfor %} {% if job.actual_device %}
Permissions
Physical access
{% if job.actual_device.physical_owner %} {{ job.actual_device.physical_owner.email }} {% elif job.actual_device.physical_group %} Group {{ job.actual_device.physical_group }} {% else %} Unknown {% endif %}
{% endif %}