{% extends "base.html" %} {% load static %} {% load markdown_filters %} {% block title %}{{ activity.name }} - Activity{% endblock %} {% block content %}

{% if activity.reference_label %} {{ activity.reference_label }} {% elif activity.reference_name %} {{ activity.reference_name }} {% endif %} {{ activity.name }}

Order: #{{ activity.order }} {% if activity.phase %} {{ activity.phase.name }} {% endif %} {% if activity.predecessor or activity.successor %} Has Dependencies {% endif %}

Updated {{ activity.updated_at|timesince }} ago

{% if can_edit %} Delete Edit {% elif can_submit_pip %} Submit PIP {% endif %} Back to List
Guidance
{{ activity.guidance|markdown }}
Details
Order:
#{{ activity.order }}
Phase:
{{ activity.get_phase_display_name }}
{% if activity.predecessor %}
Predecessor:
{{ activity.predecessor.reference_label|default:activity.predecessor.reference_name }} {{ activity.predecessor.name }}
{% endif %} {% if activity.successor %}
Successor:
{{ activity.successor.reference_label|default:activity.successor.reference_name }} {{ activity.successor.name }}
{% endif %}
Created:
{{ activity.created_at|date:"M d, Y" }}
Last Updated:
{{ activity.updated_at|date:"M d, Y" }}
Workflow
{{ workflow.name }}

{{ workflow.description|truncatewords:20 }}

View Workflow
Assigned Agent
{% if activity.agent %}
{{ activity.agent.name }}
{% if activity.agent.description %}

{{ activity.agent.description|markdown|striptags|truncatewords:15 }}

{% endif %} {% else %}

No agent assigned

{% endif %} {% if can_edit %} {% if activity.agent %}Change{% else %}Assign{% endif %} Agent {% endif %}
Required Skill
{% if activity.skill %}
{{ activity.skill.title }}
{% if activity.skill.capability_domain %} {{ activity.skill.capability_domain }} {% endif %} {% if activity.skill.technology_stack %} {{ activity.skill.technology_stack }} {% endif %}
{% else %}

No skill required

{% endif %} {% if can_edit %} {% if activity.skill %}Change{% else %}Assign{% endif %} Skill {% endif %}
Rules
{% if activity.rules.all %}
    {% for rule in activity.rules.all %}
  • {{ rule.title }} {{ rule.slug }}
  • {% endfor %}
{% else %}

No rules linked.

{% endif %} {% if can_edit %} Edit rules {% endif %}
Input Artifacts {% if artifact_inputs %} {{ artifact_inputs|length }} {% endif %}
{% if artifact_inputs %}
    {% for artifact_input in artifact_inputs %}
  • {{ artifact_input.artifact.name }} {{ artifact_input.artifact.type }} {% if artifact_input.is_required %} Required {% endif %}
    Produced by: {{ artifact_input.artifact.produced_by.name }}
  • {% endfor %}
{% else %}

No input artifacts

{% endif %} {% if can_edit %} Manage Artifacts {% endif %}
{% endblock %}