{% extends "masterRead.html" %} {% block content %}

Story #{{ domainObject.id }}

{% if view.canUpdateDomainObject %}

{% endif %}

"{{ domainObject.description|escape }}"

{% if domainObject.narrative%} {{ domainObject.asDictLabels.narrative }} {% else %} No narrative has been recorded for this story. {% endif %}

Events

{% if domainObject.raises %}

These interruptions may happen during (or after) this story.

{% for assn in domainObject.raises %} {% endfor %}
Interruption Next Stories
{% if view.canUpdateDomainObject %} x {% endif %} {{ assn.event.description|escape }} {% for storyAssn in assn.event.responses %} {{ storyAssn.story.description|escape }}.  {% endfor %}
{% else %}

No registered events happen within this story.

{% endif %}
{% if view.canUpdateDomainObject %}

{% endif %}
{% if domainObject.handles %}

These interruptions may cause this story.

{% for assn in domainObject.handles %} {% endfor %}
Cause Interrupted stories
{% if view.canUpdateDomainObject %} x {% endif %} {{ assn.event.description|escape }} {% for storyAssn in assn.event.causes %} {{ storyAssn.story.description|escape }}.  {% endfor %}
{% else %}

This story doesn't respond to any registered event.

{% endif %}
{% if view.canUpdateDomainObject %}

{% endif %}

Requirements

{% if domainObject.requirements %}

Products supporting this story satisfy the following requirements.

{% for assn in domainObject.requirements %} {% endfor %}
Requirement Ticket
{% if view.canUpdateDomainObject %} x {% endif %} {{assn.requirement.description|escape}} {% if assn.requirement.ticketUrl %} {% else %}   {% endif %}
{% else %}

This story has no requirement for system support.

{% endif %}
{% if view.canUpdateDomainObject %}

{% endif %}

Products

{% if domainObject.products %}

This story has been included within the following product specifications:

{% for assn in domainObject.products %} {% endfor %}
Product
{% if view.canUpdateDomainObject %} x {% endif %} {{assn.product.description|escape}}
{% else %}

This story has not been included within any products specifications at this time.

{% endif %}
{% if view.canUpdateDomainObject %}

{% endif %} {% if domainObject.ticketUrl %}

Ticket: {{domainObject.ticketUrl|escape}}

{% endif %} {% if view.canUpdateDomainObject %}
Do you wish to update this {{domainClassName}}?

{% endif %} {% if view.canDeleteDomainObject %}
Do you wish to delete this {{domainClassName}}?

{% endif %} {% endblock %}