{% load define_action %} {% if status == "L" %} {% define "secondary" as badgecolor %} {% define "The work specification is now retrieving the necessary information." as badgeTitle %} {% elif status == "D" %} {% define "secondary" as badgecolor %} {% define "The work specification is now being send to ATDB." as badgeTitle %} {% elif status == "S" %} {% define "green" as badgecolor %} {% define "The work specification has been succcesfully processed in ATDB." as badgeTitle %} {% elif status == "E" %} {% define "red" as badgecolor %} {% define "Retrieving the files to process or submitting the task to ATDB resulted in an error. Please reports this to the support helpdesk or try again." as badgeTitle %} {% else %} {% define "primary" as badgecolor %} {% define "The work specification has been created but has not yet been send to ATDB for processing." as badgeTitle %} {% endif %}