{% extends "layouts/content-bootstrap.html" %} {% load utils %} {% block styles %} {% endblock %} {% block content %} {% if job.status >= job.RUNNING %} End of log file

{% endif %}
Description
{{job.description|default:"not set" }}
Status
{{ job.get_status_display }}
Priority
{{ job.get_priority_display }}
Submitter
{{ job.submitter }}
{% if job.actual_device %}
Name
{{ job.actual_device.hostname }}{% if not job.is_vmgroup %} (reports){% endif %}
{% endif %} {% if job.requested_device %}
Type
{{ job.requested_device.device_type }}{% if not job.is_vmgroup %} (reports){% endif %}
{% elif job.requested_device_type %}
Requested type
{{ job.requested_device_type }} (reports)
{% endif %} {% for tag in job.tags.all %} {% if forloop.first %} {% if forloop.revcounter > 1 %}
Required Tags
{% else %}
Required Tag
{% endif %} {% endif %}
{{ tag.name }}(?)
{% endfor %} {% if job.actual_device %}
Owner
{% if job.actual_device.user %} {{ job.actual_device.user.email }} {% elif job.actual_device.group %} Group {{ job.actual_device.group }} {% else %} Unrestricted {% endif %}
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 %}
Submitted
{{ job.submit_time|timesince }}
Started
{% if job.start_time %}{{ job.start_time|timesince }}{% else %}not started{% endif %}
Finished
{% if job.end_time %}{{ job.end_time|timesince }}{% else %}not finished{% endif %}
{% if job.start_time and job.end_time %}
Duration
{{ job.end_time|timeuntil:job.start_time }}
{% endif %}
{% if show_failure %} {% endif %} {% if change_priority %}
{% csrf_token %}
{{ job.priority|get_priority_select }}
{% endif %}
{% if job.is_multinode or job.is_vmgroup %}
{% for subjob in job.sub_jobs_list %}
{{ subjob.sub_id }} {% if '0' in subjob.sub_id and '0' not in job.sub_id %} (?) {% endif %}
{% if subjob.actual_device.hostname %} on: {{ subjob.actual_device.hostname }} as: {{ subjob.device_role }}
{% else %} No device assigned as {{ subjob.device_role }}. {% endif %} {% endfor %}
{% endif %} {% if job.status < job.RUNNING %} No log file yet. {% elif job.archived_job_file %} Job log file archived. Please contact the administrator for job log file. {% else %} {% if job_file_present and not job.archived_job_file %} {% for tag in job.failure_tags.all %} {% if forloop.first %} {% if forloop.revcounter > 1 %}

Job failure tags

{% else %}

Job failure tag

{% endif %} {% endif %}
{{ tag.name }}
{{ tag.description }}
{% endfor %} {% if job.failure_comment %}
{{ job.failure_comment }}
{% endif %} {% if size_warning %}

This log file is too large to view, (over {{ size_warning|filesizeformat }} bytes). It can only be downloaded.

{% endif %} End of log file

{% for level in levels %} {% if level.1 %} {% else %} {% endif %} {% endfor %}
{% for log in job_log_messages %} {{ log.1 }} {% endfor %} {% if job.status == job.RUNNING %} {% endif %}
{% else %} Job file missing. {% endif %} {% endif %} {% if job.status >= job.RUNNING and job_file_present and job_file_size > 0 and not job.archived_job_file %} Start of log file

{% endif %} {% endblock %} {% block scripts %} {% endblock scripts %}