Requirement Links

{% csrf_token %} {% for row in requirement_results %} {% endfor %} {% for row in item_results %} {% endfor %}
Requirement Title Links
Current Requirement {{ row.requirement_title }} {% for link in row.requirement_link_set.all %} {% if not link.project_id == None %} Project - {{ link.project_id.project_id }}
{% elif not link.task_id == None %} Task - {{ link.task_id.task_id }}
{% elif not link.organisations_id == None %} Organisations - {{ link.organisation_id.organisation_id }}
{% else %} Error with link {{ link.requirement_links_id }}
{% endif %} {% endfor %}
{{ row.requirement_item_id }} {{ row.requirement_item_title }} {% for link in row.requirement_item_link_set.all %} {% if not link.project_id == None %} Project - {{ link.project_id.project_id }}
{% elif not link.task_id == None %} Task - {{ link.task_id.task_id }}
{% elif not link.organisation_id == None %} Organisations - {{ link.organisation_id.organisation_id }}
{% else %} Error with link {{ link.requirement_links_id }}
{% endif %} {% endfor %}