diff --git a/lib/towerops_web/live/device_live/form.html.heex b/lib/towerops_web/live/device_live/form.html.heex index 31a46b78..f64a5473 100644 --- a/lib/towerops_web/live/device_live/form.html.heex +++ b/lib/towerops_web/live/device_live/form.html.heex @@ -624,7 +624,7 @@ - <%= if @live_action == :edit and @is_mikrotik_device do %> + <%= if false and @live_action == :edit and @is_mikrotik_device do %>
<% end %> - <%= if @device.mikrotik_enabled do %> + <%= if false and @device.mikrotik_enabled do %> <.link patch={~p"/devices/#{@device.id}?tab=backups"} class={[ @@ -228,7 +228,7 @@ <% end %> - <%= if @device.mikrotik_enabled do %> + <%= if false and @device.mikrotik_enabled do %> <.link navigate={~p"/devices/#{@device.id}/config-timeline"} class="whitespace-nowrap py-4 px-1 border-b-2 border-transparent font-medium text-sm text-gray-500 hover:text-gray-700 hover:border-gray-300 dark:text-gray-400 dark:hover:text-gray-300" @@ -624,7 +624,7 @@ <% end %> <%!-- Recent Config Changes mini-card --%> - <%= if @device.mikrotik_enabled && assigns[:recent_config_changes] && Enum.any?(@recent_config_changes) do %> + <%= if false && @device.mikrotik_enabled && assigns[:recent_config_changes] && Enum.any?(@recent_config_changes) do %>

@@ -1856,7 +1856,7 @@ <% end %>

<% "backups" -> %> - <%= if @device.mikrotik_enabled do %> + <%= if false and @device.mikrotik_enabled do %>
diff --git a/lib/towerops_web/live/help_live/index.ex b/lib/towerops_web/live/help_live/index.ex index b108d4a1..ff3c139d 100644 --- a/lib/towerops_web/live/help_live/index.ex +++ b/lib/towerops_web/live/help_live/index.ex @@ -252,6 +252,7 @@ defmodule ToweropsWeb.HelpLive.Index do Integrations + <%= if false do %>
  • <.link patch={~p"/help?section=mikrotik"} @@ -267,6 +268,7 @@ defmodule ToweropsWeb.HelpLive.Index do MikroTik
  • + <% end %>
  • <.link patch={~p"/help?section=graphs"} diff --git a/lib/towerops_web/live/org/settings_live.html.heex b/lib/towerops_web/live/org/settings_live.html.heex index a4a84052..d6ad40df 100644 --- a/lib/towerops_web/live/org/settings_live.html.heex +++ b/lib/towerops_web/live/org/settings_live.html.heex @@ -44,6 +44,7 @@
  • <%= if @current_scope.user.is_superuser do %> + <%= if false do %>
  • <.link patch={~p"/orgs/#{@organization.slug}/settings?tab=mikrotik"} @@ -54,6 +55,7 @@ {t("MikroTik")}
  • + <% end %> <% end %>
  • <.link @@ -365,7 +367,7 @@
  • <% end %> - <%= if @active_tab == "mikrotik" && @current_scope.user.is_superuser do %> + <%= if false && @active_tab == "mikrotik" && @current_scope.user.is_superuser do %>
    diff --git a/lib/towerops_web/live/site_live/form.html.heex b/lib/towerops_web/live/site_live/form.html.heex index cb98796e..e388f31e 100644 --- a/lib/towerops_web/live/site_live/form.html.heex +++ b/lib/towerops_web/live/site_live/form.html.heex @@ -382,7 +382,7 @@ <% end %>
    - <%= if @current_scope.user.is_superuser do %> + <%= if false and @current_scope.user.is_superuser do %>

    {t("MikroTik API Configuration")}