Skip to content

Commit

Permalink
Closes netbox-community#14707: Change 'Interface' to 'Tunnel interfac…
Browse files Browse the repository at this point in the history
…e' in VPN tunnel forms
  • Loading branch information
markkuleinio authored and JCWasmx86 committed Apr 23, 2024
1 parent 604753d commit 9de7bfc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions netbox/vpn/forms/model_forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
}
Expand Down Expand Up @@ -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',
}
Expand Down Expand Up @@ -238,7 +238,7 @@ class TunnelTerminationForm(NetBoxModelForm):
)
termination = DynamicModelChoiceField(
queryset=Interface.objects.all(),
label=_('Interface'),
label=_('Tunnel interface'),
query_params={
'device_id': '$parent',
}
Expand Down
2 changes: 1 addition & 1 deletion netbox/vpn/tables/tunnels.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 9de7bfc

Please sign in to comment.