{% extends "admin.html" %} {% block extra_admin_head %} {% endblock %} {% block body %}

{{ _("Documentation") }}

{{ _("This document describes the actors and funcionalities of the system") }} {{ settings.initials }}.

Índice

    {% if documentation.actors %}
  1. Atores
      {% for actor in documentation.actors %}
    1. {{ actor.name }}
    2. {% endfor %}
  2. {% endif %} {% if documentation.workflow %}
  3. Fluxograma
  4. {% endif %} {% if documentation.class_diagrams %}
  5. Diagrama de Classes
      {% for class_diagram in documentation.class_diagrams %}
    1. {{ class_diagram.name }}
    2. {% endfor %}
  6. {% endif %} {% if documentation.usecases %}
  7. Casos de Uso
      {% for usecase in documentation.usecases %}
    1. {{ usecase.name }}
    2. {% endfor %}
  8. {% endif %}
{% if documentation.description %}

{{ documentation.description|linebreaks }}

{% endif %}

{{ _("Actors") }}

{% if documentation.actors %} {% if documentation.organization_model or documentation.unit_model %} {% endif %} {% for actor in documentation.actors %} {% if documentation.organization_model or documentation.unit_model %} {% endif %} {% endfor %}
{{ _("Group") }} {{ _("Description") }}{{ _("Scope") }}

{{ actor.name }}
{{ actor.description|format }}{{ actor.scope|format }}
{% else %}
Nenhum ator envolvido.
{% endif %}

Fluxograma


{% if workflow_data != '[]' %}
{% else %}
Nenhum fluxo foi definido.
{% endif %} {% if documentation.class_diagrams %}

Diagrama de Classes

{% for class_diagram in documentation.class_diagrams %}

{{ class_diagram.name }}

{% endfor %} {% endif %}

{{ _("Use Cases") }}

{% for usecase in documentation.usecases %}

{{ usecase.name|upper }}

{% if usecase.actors|length > 1 %} {% endif %} {% if usecase.pre_conditions %} {% endif %} {% if usecase.business_rules %} {% endif %}
ID: UC-{{ usecase.name|slugify|upper }}
{{ _("Title") }}: {{ usecase.name }}
{{ _("Description") }}: {{ usecase.description|format }}
{{ _("Primary Actor") }}: {% for actor in usecase.actors %}{% if loop.first %}{{ actor|format }} {% endif %}{% endfor %}
{{ _("Secondary Actors") }}: {% for actor in usecase.actors %}{% if not loop.first %}{{ actor|format }} {% endif %}{% endfor %}
{{ _("Preconditions") }}: {% for pre_condition in usecase.pre_conditions %} {{ pre_condition }}{% endfor %}
{{ _("Business Rules") }}: {{ usecase.business_rules|ordered_list }}
{{ _("Postconditions") }}: {{ usecase.post_condition|format }}
{{ _("Main Scenario") }}: {{ usecase.get_interactions_as_string()|print_format }}
{{ _("Extensions") }}:
{% endfor %}
{% endblock %}