Closes #14707: Change 'Interface' to 'Tunnel interface' in VPN tunnel forms

This commit is contained in:
Markku Leiniö 2024-04-04 18:46:01 +03:00 committed by Jeremy Stretch
parent d9a7b4ee0e
commit 5b50920c61
2 changed files with 4 additions and 4 deletions

View File

@ -91,7 +91,7 @@ class TunnelCreateForm(TunnelForm):
termination1_termination = DynamicModelChoiceField(
queryset=Interface.objects.all(),
required=False,
label=_('Interface'),
label=_('Tunnel interface'),
query_params={
'device_id': '$termination1_parent',
}
@ -126,7 +126,7 @@ class TunnelCreateForm(TunnelForm):
termination2_termination = DynamicModelChoiceField(
queryset=Interface.objects.all(),
required=False,
label=_('Interface'),
label=_('Tunnel interface'),
query_params={
'device_id': '$termination2_parent',
}
@ -238,7 +238,7 @@ class TunnelTerminationForm(NetBoxModelForm):
)
termination = DynamicModelChoiceField(
queryset=Interface.objects.all(),
label=_('Interface'),
label=_('Tunnel interface'),
query_params={
'device_id': '$parent',
}

View File

@ -88,7 +88,7 @@ class TunnelTerminationTable(TenancyColumnsMixin, NetBoxTable):
verbose_name=_('Host')
)
termination = tables.Column(
verbose_name=_('Interface'),
verbose_name=_('Tunnel interface'),
linkify=True
)
ip_addresses = tables.ManyToManyColumn(