diff --git a/netbox/templates/core/job.html b/netbox/templates/core/job.html index 1e90283de..1144dd8df 100644 --- a/netbox/templates/core/job.html +++ b/netbox/templates/core/job.html @@ -6,14 +6,20 @@ {% block breadcrumbs %} {{ block.super }} - - {% with parent_jobs_viewname=object.object|viewname:"jobs" %} + {% if object.object %} - {% endwith %} + {% with parent_jobs_viewname=object.object|viewname:"jobs" %} + + {% endwith %} + {% else %} + + {% endif %} {% endblock breadcrumbs %} {% block control-buttons %}