From c619b9be936abc765fbbaeeb0feaf2421b4ff6df Mon Sep 17 00:00:00 2001 From: DocuSeal Date: Tue, 24 Oct 2023 23:16:02 +0300 Subject: [PATCH] move plans link --- app/views/shared/_settings_nav.html.erb | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/app/views/shared/_settings_nav.html.erb b/app/views/shared/_settings_nav.html.erb index e4dc2697..0f509d74 100644 --- a/app/views/shared/_settings_nav.html.erb +++ b/app/views/shared/_settings_nav.html.erb @@ -41,13 +41,6 @@ <%= link_to 'Team', settings_users_path, class: 'text-base hover:bg-base-300' %> <% end %> - <% if !Docuseal.demo? && can?(:manage, EncryptedConfig) %> -
  • - <%= link_to Docuseal.multitenant? ? console_redirect_index_path(redir: "#{Docuseal::CONSOLE_URL}/plans") : "#{Docuseal::CONSOLE_URL}/on_premise", class: 'text-base hover:bg-base-300', data: { prefetch: false } do %> - Plans - <% end %> -
  • - <% end %> <% if Docuseal.demo? || !Docuseal.multitenant? %> <% if can?(:read, AccessToken) %>
  • @@ -66,6 +59,13 @@
  • <% end %> <%= render 'shared/settings_nav_extra' %> + <% if !Docuseal.demo? && can?(:manage, EncryptedConfig) %> +
  • + <%= link_to Docuseal.multitenant? ? console_redirect_index_path(redir: "#{Docuseal::CONSOLE_URL}/plans") : "#{Docuseal::CONSOLE_URL}/on_premise", class: 'text-base hover:bg-base-300', data: { prefetch: false } do %> + Plans + <% end %> +
  • + <% end %> <% if !Docuseal.demo? && can?(:manage, EncryptedConfig) %>
  • <%= link_to Docuseal.multitenant? ? console_redirect_index_path : Docuseal::CONSOLE_URL, class: 'text-base hover:bg-base-300', data: { prefetch: false } do %>