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

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

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

{{ pip.get_status_display }}

{% if can_preview %} Preview {% endif %} {% if admin_review_url %} Review in Django Admin {% endif %} {% if can_edit %} Edit draft {% endif %} {% if can_withdraw %} {% endif %} {% if can_submit %}
{% csrf_token %}
{% endif %}
{% 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 %}

{{ ch.content|default:'(empty)' }}
{% if ch.galdr_reasoning %}
Galdr rationale: {{ ch.galdr_reasoning }}
{% endif %}
{% endfor %}
{% else %}
No structured changes captured.
{% endif %} {% endwith %}
{% if can_withdraw %} {% endif %} {% endblock %}