Skip to content

Commit 5b50920

Browse files
markkuleiniojeremystretch
authored andcommitted
Closes #14707: Change 'Interface' to 'Tunnel interface' in VPN tunnel forms
1 parent d9a7b4e commit 5b50920

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

netbox/vpn/forms/model_forms.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ class TunnelCreateForm(TunnelForm):
9191
termination1_termination = DynamicModelChoiceField(
9292
queryset=Interface.objects.all(),
9393
required=False,
94-
label=_('Interface'),
94+
label=_('Tunnel interface'),
9595
query_params={
9696
'device_id': '$termination1_parent',
9797
}
@@ -126,7 +126,7 @@ class TunnelCreateForm(TunnelForm):
126126
termination2_termination = DynamicModelChoiceField(
127127
queryset=Interface.objects.all(),
128128
required=False,
129-
label=_('Interface'),
129+
label=_('Tunnel interface'),
130130
query_params={
131131
'device_id': '$termination2_parent',
132132
}
@@ -238,7 +238,7 @@ class TunnelTerminationForm(NetBoxModelForm):
238238
)
239239
termination = DynamicModelChoiceField(
240240
queryset=Interface.objects.all(),
241-
label=_('Interface'),
241+
label=_('Tunnel interface'),
242242
query_params={
243243
'device_id': '$parent',
244244
}

netbox/vpn/tables/tunnels.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ class TunnelTerminationTable(TenancyColumnsMixin, NetBoxTable):
8888
verbose_name=_('Host')
8989
)
9090
termination = tables.Column(
91-
verbose_name=_('Interface'),
91+
verbose_name=_('Tunnel interface'),
9292
linkify=True
9393
)
9494
ip_addresses = tables.ManyToManyColumn(

0 commit comments

Comments
 (0)