{% 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_count %}
{% blocktrans count count=conflicts_count %} {{ count }} conflict was found. Applying these changes will overwrite data that has been modified since the branch was created. Please review it and acknowledge it below before proceeding. {% plural %} {{ count }} conflicts were found. Applying these changes will overwrite data that has been modified since the branch was created. Please review them and acknowledge them below before proceeding. {% 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_count %}
{% include 'htmx/table.html' with table=conflicts_table %}
{% if conflicts_hidden %} {% url 'plugins:netbox_branching:branch_diff' pk=branch.pk as diff_url %}
{% blocktrans count count=conflicts_hidden %} Not all conflicts are shown. There is {{ count }} more conflict not listed above. View all conflicts. {% plural %} Not all conflicts are shown. There are {{ count }} more conflicts not listed above. View all conflicts. {% endblocktrans %}
{% endif %} {% endif %}
{% render_form form %}
{# /Form tab #} {% endblock content %}