{% extends 'scipost/base.html' %} {% load scipost_extras %} {% block title %}Merging {{ model_name_plural }}{% endblock %} {% block breadcrumbs %}
{{ object_to }} {% include "bi/arrow-left.html" %} {{ object_from }}
{% for group_name, group in diff_groups.items %}{{ object_to }} {% include "bi/arrow-left.html" %} {{ object_from }} | |
---|---|
{{ field_name|title }} |
{% for change in changes %}
{% with status=change.0 value=change.1 %}
{% if status == "added" %}
{{ value }}
{% elif status == "removed" %}
{{ value }}
{% else %}
{{ value }}
{% endif %}
{% endwith %}
{% endfor %}
|