{% extends 'generic/object.html' %} {% load helpers %} {% load i18n %} {% block extra_controls %} {% if perms.core.delete_job and perms.netbox_packer.change_packerimagebuild %}
{% csrf_token %}
{% endif %} {% endblock extra_controls %} {% block content %}
{% trans "Image Build" %}
{% trans "Definition" %} {{ object.definition|linkify }}
{% trans "Status" %} {% if object.status == "completed" %} {{ object.get_status_display }} {% elif object.status == "running" %} {{ object.get_status_display }} {% elif object.status == "failed" %} {{ object.get_status_display }} {% elif object.status == "cancelled" %} {{ object.get_status_display }} {% else %} {{ object.get_status_display }} {% endif %}
{% trans "Backend build ID" %} {{ object.backend_build_id|placeholder }}
{% trans "Created by" %} {{ object.created_by|linkify }}
{% trans "NetBox job ID" %} {{ object.netbox_job_id|placeholder }}
{% trans "Cloud image template" %} {{ object.cloud_image_template|linkify|placeholder }}
{% trans "Output" %}
{% trans "Endpoint" %} {{ object.proxmox_endpoint|linkify }}
{% trans "Target node" %} {{ object.target_node }}
{% trans "Output VMID" %} {{ object.output_vmid }}
{% trans "Output name" %} {{ object.output_name }}
{% trans "Image version" %} {{ object.image_version }}
{% include 'inc/panels/custom_fields.html' %}
{% trans "Timeline" %}
{% trans "Started" %} {{ object.started_at|placeholder }}
{% trans "Completed" %} {{ object.completed_at|placeholder }}
{% trans "Created" %} {{ object.created|placeholder }}
{% trans "Last updated" %} {{ object.last_updated|placeholder }}
{% trans "Logs" %}

{% trans "Logs stream once builds are wired in PHASE4" %}

{% trans "Backend Response" %}
{{ object.backend_response|default:"{}" }}
{% trans "Error" %}
{{ object.error|placeholder }}
{% include 'inc/panels/tags.html' %} {% include 'inc/panels/comments.html' %}
{% endblock content %}