diff --git a/plinth/modules/networks/networks.py b/plinth/modules/networks/networks.py index 56d58234e..3375f3749 100644 --- a/plinth/modules/networks/networks.py +++ b/plinth/modules/networks/networks.py @@ -35,7 +35,9 @@ def index(request): 'title': _('Network Connections'), 'has_diagnostics': True, 'is_enabled': True, - 'connections': connections + 'connections': connections, + 'internet_connectivity_type': kvstore.get_default( + networks.INTERNET_CONNECTION_TYPE_KEY, "dynamic_public_ip") }) diff --git a/plinth/modules/networks/templates/internet_connectivity_main.html b/plinth/modules/networks/templates/internet_connectivity_main.html index c275e9e9c..8558cf184 100644 --- a/plinth/modules/networks/templates/internet_connectivity_main.html +++ b/plinth/modules/networks/templates/internet_connectivity_main.html @@ -18,10 +18,17 @@ {% endblocktrans %}
- +