|
|
|
|
@ -67,7 +67,7 @@
|
|
|
|
|
</li>
|
|
|
|
|
<% end %>
|
|
|
|
|
<%= render 'shared/settings_nav_extra' %>
|
|
|
|
|
<% if !Docuseal.demo? && can?(:manage, EncryptedConfig) %>
|
|
|
|
|
<% if !Docuseal.demo? && can?(:manage, EncryptedConfig) && (current_user != true_user || !current_account.testing?) %>
|
|
|
|
|
<li>
|
|
|
|
|
<%= link_to Docuseal.multitenant? ? console_redirect_index_path(redir: "#{Docuseal::CONSOLE_URL}/plans") : "#{Docuseal::CLOUD_URL}/sign_up?#{{ redir: "#{Docuseal::CONSOLE_URL}/on_premise" }.to_query}", class: 'text-base hover:bg-base-300', data: { prefetch: false } do %>
|
|
|
|
|
Plans
|
|
|
|
|
@ -75,7 +75,7 @@
|
|
|
|
|
<% end %>
|
|
|
|
|
</li>
|
|
|
|
|
<% end %>
|
|
|
|
|
<% if !Docuseal.demo? && can?(:manage, EncryptedConfig) %>
|
|
|
|
|
<% if !Docuseal.demo? && can?(:manage, EncryptedConfig) && (current_user != true_user || !current_account.testing?) %>
|
|
|
|
|
<li>
|
|
|
|
|
<%= link_to Docuseal.multitenant? ? console_redirect_index_path(redir: "#{Docuseal::CONSOLE_URL}/api") : "#{Docuseal::CONSOLE_URL}/on_premise", class: 'text-base hover:bg-base-300', data: { prefetch: false } do %>
|
|
|
|
|
<% if Docuseal.multitenant? %> API <% else %> Console <% end %>
|
|
|
|
|
|