{% extends "base.html" %} {% load markdown_filters %} {% block title %}PIP-{{ pip.pk }} — Mimir{% endblock %} {% block content %}

PIP-{{ pip.pk }}: {{ pip.title }}

{{ pip.get_status_display }} · Target playbook: {{ pip.playbook.name }} v{{ pip.playbook.version }}

{% if status_banner %}
{{ status_banner }}
{% endif %}
{% if pip.summary %}
Summary

{{ pip.summary }}

{% endif %}
Changes
{% with changes=pip.changes.all %} {% if changes %}
{% for ch in changes %}

{% if ch.name %}{{ ch.name }}{% endif %} {% if ch.target_name_snapshot or ch.target_id %} · {% if ch.target_name_snapshot %}{{ ch.target_name_snapshot }}{% else %}#{{ ch.target_id }}{% endif %} {% endif %}

{% if ch.internal_ref or ch.parent_workflow_ref or ch.insert_after_activity_ref or ch.phase_ref or ch.produced_by_activity_ref or ch.artifact_type or ch.relationship_type or ch.source_entity_ref or ch.target_entity_ref or ch.parent_workflow_id or ch.insert_after_activity_id %}

{% if ch.internal_ref %}ref: {{ ch.internal_ref }}{% endif %} {% if ch.parent_workflow_ref %}parent wf: {{ ch.parent_workflow_ref }}{% elif ch.parent_workflow_id %}parent wf: #{{ ch.parent_workflow_id }}{% endif %} {% if ch.insert_after_activity_ref %}after: {{ ch.insert_after_activity_ref }}{% elif ch.insert_after_activity_id %}after: #{{ ch.insert_after_activity_id }}{% endif %} {% if ch.phase_ref %}phase: {{ ch.phase_ref }}{% endif %} {% if ch.produced_by_activity_ref %}producer: {{ ch.produced_by_activity_ref }}{% endif %} {% if ch.artifact_type %}artifact type: {{ ch.artifact_type }}{% if ch.artifact_is_required %} (required){% endif %}{% endif %} {% if ch.relationship_type %}link: {{ ch.relationship_type }}{% endif %} {% if ch.source_entity_ref %}src: {{ ch.source_entity_ref }}{% endif %} {% if ch.target_entity_ref %}tgt: {{ ch.target_entity_ref }}{% endif %}

{% endif %} {% if ch.content %}
{{ ch.content|markdown }}
{% else %}

(empty)

{% endif %} {% if ch.galdr_reasoning %}
Galdr rationale: {{ ch.galdr_reasoning }}
{% endif %}
{% endfor %}
{% else %}
No structured changes captured.
{% endif %} {% endwith %}
Details
Status:
{{ pip.get_status_display }}
Changes:
{{ pip.changes.count }}
Created:
{{ pip.created_at|date:"M d, Y" }}
{% if pip.submitted_at %}
Submitted:
{{ pip.submitted_at|date:"M d, Y" }}
{% endif %} {% if pip.created_by %}
Author:
{{ pip.created_by.username }}
{% endif %}
Target Playbook
{{ pip.playbook.name }}

v{{ pip.playbook.version }}

View Playbook
{% if can_revert_to_draft %} {% endif %} {% if can_withdraw %} {% endif %} {% include "includes/markdown_content_assets.html" %} {% endblock %}