diff --git a/ckanext/harvest/templates_new/source/admin_base.html b/ckanext/harvest/templates_new/source/admin_base.html index 6bf1a4e..9c280d9 100644 --- a/ckanext/harvest/templates_new/source/admin_base.html +++ b/ckanext/harvest/templates_new/source/admin_base.html @@ -9,7 +9,7 @@ {% block action_links %} {% set show_li = c.__version == '2.0' %} - {% if source.status.last_job and (source.status.last_job.status == 'New' or source.status.last_job.status == 'Running') %} + {% if source.status and source.status.last_job and (source.status.last_job.status == 'New' or source.status.last_job.status == 'Running') %} {{ '