{% 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 %}
{% blocktrans %}No field-level conflicts found. (Note: Database constraint violations, e.g. duplicate names or slugs, can only be detected during merge.){% endblocktrans %}
{% endif %} {% if changes_summary.creates or changes_summary.updates or changes_summary.deletes %}

{% trans "Pending Changes" %}

{% include 'netbox_branching/inc/changes_summary.html' with prefix=action_name %}
{% endif %}
{% csrf_token %} {% if conflicts_table.rows %}
{% include 'htmx/table.html' with table=conflicts_table %}
{% endif %}
{% render_form form %}
{# /Form tab #} {% endblock content %}