{% extends "../template.html" %} {% block content %} {% load static %}

Requirements Information - {{ requirement_id }}

{{ requirement_results.requirement_title }}
{{ requirement_readonly_form.media }} {{ requirement_readonly_form.requirement_scope }}
Requirement Type: {{ requirement_results.requirement_type }}
Requirement Status: Closed

Requirement Links

{% for link in requirement_results.requirement_links_set.all %} {% if not link.project_id == None %} {% elif not link.task_id == None %} {% elif not link.organisations_id == None %} {% else %} {% endif %} {% endfor %}
Link Link Object Description
Project - {{ link.project_id.project_id }} {{ link.project_id }}
Task - {{ link.task_id.tasks_id }} {{ link.task_id }}
Organisations - {{ link.organisations_id.organisations_id }} {{ link.organisations_id }}
-- Error with link {{ link.requirement_links_id }}

Requirement Items

{% if requirement_item_results %} {% for row in requirement_item_results %} {% if row.requirement_item_links_set.all %} {% for link in row.requirement_item_links_set.all %} {% if not link.project_id == None %} {% elif not link.task_id == None %} {% elif not link.organisations_id == None %} {% else %} {% endif %} {% endfor %} {% endif %}

{{ row.requirement_item_title }}

Requirement Item ID: {{ row.requirement_item_id }}
{{ row.requirement_item_scope|safe }}
Requirement Item Status: {{ row.requirement_item_status }}
Requirement Item Type: {{ row.requirement_item_type }}

Requirement Item Links

Link Link Object Description
Project - {{ link.project_id.project_id }} {{ link.project_id }}
Task - {{ link.task_id.tasks_id }} {{ link.task_id }}
Organisations - {{ link.organisations_id.organisations_id }} {{ link.organisations_id }}
-- Error with link {{ link.requirement_links_id }}

{% endfor %} {% else %}

This requirement did not contain any requirement items

{% endif %} {% if document_results %}

Need to program in document results. Can someone please log this as a bug at https://bugzilla.nearbeach.org

{% endif %} {% if bug_results %}

Requirement Bugs

{% for row in bug_results %} {% endfor %}
Bug ID Bug Client Bug Description Bug Status
{{ row.bug_code }} {{ row.bug_client }} {{ row.bug_description }} {{ row.bug_status }}
{% endif %} {% endblock %}