{% extends 'generic/object_retrieve.html' %} {% load buttons %} {% load custom_links %} {% load helpers %} {% load perms %} {% load plugins %} {% load tz %} {% block buttons %} {% plugin_buttons object %} {% if user|can_delete:object %} {% delete_button object %} {% endif %} {% endblock buttons %} {% block content %} {% if not job_class_found %}
| Name | {{ object.name }} |
| Description | {{ object.description }} |
| Task |
{{ object.task }}
|
| Job | {{ object.job_model|hyperlinked_object }} |
| Requester | {{ object.user|placeholder }} |
| Approval Required? | {{ object.approval_required | render_boolean }} |
| Approver | {{ object.approved_by_user | placeholder }} |
| Approved At | {{ object.approved_at | placeholder }} |
| Enabled? | {{ object.enabled | render_boolean }} |
| Job Queue | {{ object.job_queue | hyperlinked_object }} |
| Interval | {{ object.interval }} {% if object.interval == "custom" %}({{ object.crontab }}){% endif %} |
| One Off? | {{ object.one_off | render_boolean }} |
| Start Time |
{{ object.start_time|timezone:object.time_zone|date:settings.SHORT_DATETIME_FORMAT }}
{% if default_time_zone != object.time_zone %}
{{ object.start_time|timezone:default_time_zone|date:settings.SHORT_DATETIME_FORMAT }} {% endif %} |
| Last Run At |
{% if object.last_run_at %}
{{ object.last_run_at|timezone:object.time_zone|date:settings.SHORT_DATETIME_FORMAT }}
{% if default_time_zone != object.time_zone %}
{{ object.last_run_at|timezone:default_time_zone|date:SHORT_DATETIME_FORMAT }} {% endif %} {% else %} {{ object.last_run_at|placeholder }} {% endif %} |
| Total Run Count | {{ object.total_run_count }} |
| {{ labels|get_item:key }} | {% if value is None %}–{% else %}{{ value }}{% endif %} |
| — |