From f963e5bd33af45450b59d479e8a6512b66c3a3ca Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Wed, 20 May 2026 09:29:28 +0200 Subject: [PATCH] ipsec: move swanctl.conf download button to the tab This aligns with the aliases actions tab. (cherry picked from commit e44a05a0de9c3d984cea938bc134824be90a5bdb) --- .../app/views/OPNsense/IPsec/settings.volt | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/src/opnsense/mvc/app/views/OPNsense/IPsec/settings.volt b/src/opnsense/mvc/app/views/OPNsense/IPsec/settings.volt index 8f30f9ea45..9278d30d01 100644 --- a/src/opnsense/mvc/app/views/OPNsense/IPsec/settings.volt +++ b/src/opnsense/mvc/app/views/OPNsense/IPsec/settings.volt @@ -110,10 +110,6 @@ }); } }); - - $('a[data-toggle="tab"]').on('shown.bs.tab', function (e) { - $('#downloadConfig').toggle(e.target.id === 'config_tab'); - }); }); @@ -125,12 +121,17 @@
{{ partial("layout_partials/base_tabs_content",['formData':formSettings]) }} -
+
+
+
+
+ +
+
+
+
+
- - {{ partial('layout_partials/base_apply_button', {'data_endpoint': '/api/ipsec/service/reconfigure', 'data_exclude_scope': 'config_tab'}) }}