1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Added scheduled_time field to JobResult model

This commit is contained in:
kkthxbye-code
2022-10-16 13:42:28 +02:00
parent ef0b455b05
commit 1d9808a92a
9 changed files with 43 additions and 4 deletions

View File

@ -2,6 +2,9 @@
<p>
Initiated: <strong>{{ result.created|annotated_date }}</strong>
{% if result.scheduled_time %}
Scheduled for: <strong>{{ result.scheduled_time|annotated_date }}</strong>
{% endif %}
{% if result.completed %}
Duration: <strong>{{ result.duration }}</strong>
{% endif %}

View File

@ -3,6 +3,9 @@
<p>
Initiated: <strong>{{ result.created|annotated_date }}</strong>
{% if result.scheduled_time %}
Scheduled for: <strong>{{ result.scheduled_time|annotated_date }}</strong>
{% endif %}
{% if result.completed %}
Duration: <strong>{{ result.duration }}</strong>
{% endif %}