{% 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 object_list %}
{% if specification.get_submission_status_display == "submitted" %} {% define "green" as badgecolor %} {% endif %} {% if specification.get_submission_status_display == "error" %} {% define "red" as badgecolor %} {% endif %} {% if specification.get_submission_status_display == "defining" %} {% define "secondary" as badgecolor %} {% endif %} {% if specification.get_submission_status_display == "undefined" or specification.get_submission_status_display == "not submitted" %} {% define "primary" as badgecolor %} {% 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 %}
{% csrf_token %} {% if specification.get_submission_status_display == "submitted" or specification.get_submission_status_display == "defining" %} {% elif specification.inputs.surls|length == 0 %} {% else %} {% endif %}
{% endfor %}
{% else %}

Welcome to the LDV Specification tool

Log in to see/add/update work specifications

{% endif %} {% endblock %}