{% extends 'generic/object.html' %} {% load helpers %} {% load i18n %} {# Read-only tab: the resolved sync-overwrite behavior, split into per-category #} {# sub-tabs (Device / Virtual Machine / Cluster / …) that mirror the grouping of #} {# the Settings edit tab. Extending generic/object.html reuses the shared object #} {# header + tab strip; only the content is the grouped table. #} {% block content %}
{% trans "Sync Overwrite Behavior" %} {# Jump straight to where these flags are edited: the Settings page's #} {# Sync Overwrite sub-tab (activated from the URL hash). Gated on the #} {# change permission, since editing requires it. #} {% if perms.netbox_proxbox.change_proxmoxendpoint %} {% action_url object 'settings' pk=object.pk as overwrite_settings_url %} {% trans "Edit" %} {% endif %}

{% blocktrans trimmed %} The effective overwrite behavior applied when this endpoint syncs each resource type. A global badge means the value is inherited from the global Proxbox plugin settings; an override badge means it is set explicitly on this endpoint (change it on the Settings tab). {% endblocktrans %}

{% for group_label, group_rows in overwrite_row_groups %}
{% for row in group_rows %} {% endfor %}
{{ row.label }} {% if row.value %} {% trans "Yes" %} {% else %} {% trans "No" %} {% endif %} {% if row.is_override %} {% trans "override" %} {% else %} {% trans "global" %} {% endif %}
{% endfor %}
{% endblock content %}