{% extends 'generic/_base.html' %} {% load form_helpers %} {% load helpers %} {% load i18n %} {% block title %}{% trans action %} {{ branch }}{% endblock %} {% block tabs %} {% endblock tabs %} {% block content %} {# Form tab #}
{% if not action_permitted %}
{{ action_permitted.message }} {% blocktrans %}Only dry runs are permitted.{% endblocktrans %}
{% endif %} {% if conflicts_table.rows %}
{% blocktrans with count=conflicts_table.rows|length %} The following {{ count }} conflicts were found. Applying these changes will overwrite data that has been modified since the branch was created. Please confirm that each of these changes is desired. {% endblocktrans %}
{% else %}
{% trans "No conflicts found." %}
{% endif %} {% if changes_summary.creates or changes_summary.updates or changes_summary.deletes %}
{% trans "Pending Changes" %}
{% if changes_summary.creates %}
{% for ct, count in changes_summary.creates.items %} {% endfor %}
{{ ct.model_class|meta:"verbose_name_plural"|bettertitle }} {{ count }}
{% endif %} {% if changes_summary.updates %}
{% for ct, count in changes_summary.updates.items %} {% endfor %}
{{ ct.model_class|meta:"verbose_name_plural"|bettertitle }} {{ count }}
{% endif %} {% if changes_summary.deletes %}
{% for ct, count in changes_summary.deletes.items %} {% endfor %}
{{ ct.model_class|meta:"verbose_name_plural"|bettertitle }} {{ count }}
{% endif %}
{% endif %}
{% csrf_token %} {% if conflicts_table.rows %}
{% include 'htmx/table.html' with table=conflicts_table %}
{% endif %}
{% render_form form %}
{% trans "Cancel" %}
{# /Form tab #} {% endblock content %}