{% if object.get_submission_status_display == "submitted" %}
{% define "green" as badgecolor %}
{% define "The work specification has been succcesfully processed in ATDB." as badgeTitle %}
{% endif %}
{% if object.get_submission_status_display == "error" %}
{% define "red" as badgecolor %}
{% define "Retrieving the files to process resulted in an error. Please reports this to the support helpdesk." as badgeTitle %}
{% endif %}
{% if object.get_submission_status_display == "defining" %}
{% define "secondary" as badgecolor %}
{% define "The work specification has been send to ATDB but has not yet been processed there." as badgeTitle %}
{% endif %}
{% if object.get_submission_status_display == "undefined" or object.get_submission_status_display == "not submitted" %}
{% define "primary" as badgecolor %}
{% define "The work specification has been created but has not yet been send to ATDB for processing." as badgeTitle %}
{% endif %}
{{ object.get_submission_status_display }}
Filters
{{ object.filters }}
{% if object.is_ready or object.is_defined %}
{% if number_of_files == 0 %}