{% extends 'lofardata/base.html' %} {% load static %} {% load crispy_forms_tags %} {% load define_action %} {% block myBlock %} {% if user.is_authenticated %}

Work Specifications

ID m
Status m
Processing Site m
Created By m
Workflow m
Tag m
Successors
Predecessors
Actions
{% for specification in ungrouped_work_specifications %}
{% if specification.get_submission_status_display == "submitted" %} {% define "green" as badgecolor %} {% define "The work specification has been succcesfully processed in ATDB." as badgeTitle %} {% endif %} {% if specification.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 specification.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 specification.get_submission_status_display == "undefined" or specification.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 %}
{{ specification.get_submission_status_display }}
{{ specification.created_by_display_value }}
{{ specification.selected_workflow }}
{{ specification.selected_workflow_tag }}
{% if specification.successor.count %} {% for successor in specification.successor.all %} {{ successor.pk }} {% if not forloop.last %}, {% endif %} {% endfor %} {% else %}
-
{% endif %}
{% if specification.predecessor_specification %} {{ specification.predecessor_specification.pk }} {% else %}
-
{% endif %}
{% if specification.successor.count %} {% else %} {% endif %} {% if not specification.is_editable %} {% else %} {% endif %}
{% csrf_token %} {% if not specification.is_editable %} {% elif specification.inputs.surls|length == 0 %} {% else %} {% endif %}
{% endfor %}
{% for group in object_list %}
ID m
Status m
Processing Site m
Created By m
Workflow m
Tag m
Successors
Predecessors
Actions
{% for specification in group.workspecification_set.all %}
{% if specification.get_submission_status_display == "submitted" %} {% define "green" as badgecolor %} {% define "The work specification has been succcesfully processed in ATDB." as badgeTitle %} {% endif %} {% if specification.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 specification.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 specification.get_submission_status_display == "undefined" or specification.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 %}
{{ specification.get_submission_status_display }}
{{ specification.created_by_display_value }}
{{ specification.selected_workflow }}
{{ specification.selected_workflow_tag }}
{% if specification.successor.count %} {% for successor in specification.successor.all %} {{ successor.pk }} {% if not forloop.last %}, {% endif %} {% endfor %} {% else %}
-
{% endif %}
{% if specification.predecessor_specification %} {{ specification.predecessor_specification.pk }} {% else %}
-
{% endif %}
{% if specification.successor.count %} {% else %} {% endif %} {% if not specification.is_editable %} {% else %} {% endif %}
{% csrf_token %} {% if not specification.is_editable %} {% elif specification.inputs.surls|length == 0 %} {% else %} {% endif %}
{% endfor %}
{% endfor %} {% else %}

Welcome to the LDV Specification tool

Log in to see/add/update work specifications

{% endif %} {% endblock %}