mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
#8366: Add started field to JobResult
This commit is contained in:
@@ -2,9 +2,12 @@
|
||||
{% load log_levels %}
|
||||
|
||||
<p>
|
||||
Initiated: <strong>{{ result.created|annotated_date }}</strong>
|
||||
{% if result.scheduled %}
|
||||
{% if result.started %}
|
||||
Started: <strong>{{ result.started|annotated_date }}</strong>
|
||||
{% elif result.scheduled %}
|
||||
Scheduled for: <strong>{{ result.scheduled|annotated_date }}</strong>
|
||||
{% else %}
|
||||
Created: <strong>{{ result.created|annotated_date }}</strong>
|
||||
{% endif %}
|
||||
{% if result.completed %}
|
||||
Duration: <strong>{{ result.duration }}</strong>
|
||||
@@ -48,6 +51,6 @@
|
||||
{% else %}
|
||||
<p class="text-muted">None</p>
|
||||
{% endif %}
|
||||
{% else %}
|
||||
{% elif result.started %}
|
||||
{% include 'extras/inc/result_pending.html' %}
|
||||
{% endif %}
|
||||
|
Reference in New Issue
Block a user