|
|
|
@ -66,7 +66,7 @@
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|
<% if !Docuseal.demo? && can?(:manage, EncryptedConfig) && (current_user != true_user || !current_account.linked_account_account) %>
|
|
|
|
<% if !Docuseal.demo? && can?(:manage, EncryptedConfig) && (current_user != true_user || !current_account.linked_account_account) %>
|
|
|
|
<li>
|
|
|
|
<li>
|
|
|
|
<%= content_for(:pro_link) || link_to(Docuseal.multitenant? ? console_redirect_index_path(redir: "#{Docuseal::CONSOLE_URL}/plans") : "#{Docuseal::CLOUD_URL}/sign_up?#{{ redir: "#{Docuseal::CONSOLE_URL}/on_premises" }.to_query}", class: 'text-base hover:bg-base-300', data: { prefetch: false }) do %>
|
|
|
|
<%= content_for(:pro_link) || link_to(Docuseal.multitenant? ? console_redirect_index_path(redir: "#{Docuseal::CONSOLE_URL}/plans") : "#{Docuseal::CLOUD_URL}/sign_up?#{{ redir: "#{Docuseal::CONSOLE_URL}/on_premises" }.to_query}", class: 'text-base hover:bg-base-300', data: { turbo: false }) do %>
|
|
|
|
<%= t('plans') %>
|
|
|
|
<%= t('plans') %>
|
|
|
|
<span class="badge badge-warning"><%= t('pro') %></span>
|
|
|
|
<span class="badge badge-warning"><%= t('pro') %></span>
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|
@ -74,13 +74,13 @@
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|
<% if !Docuseal.demo? && can?(:manage, EncryptedConfig) && (current_user == true_user || current_account.testing?) %>
|
|
|
|
<% if !Docuseal.demo? && can?(:manage, EncryptedConfig) && (current_user == true_user || current_account.testing?) %>
|
|
|
|
<li>
|
|
|
|
<li>
|
|
|
|
<%= link_to Docuseal.multitenant? ? console_redirect_index_path(redir: "#{Docuseal::CONSOLE_URL}#{'/test' if current_account.testing?}/api") : "#{Docuseal::CONSOLE_URL}/on_premises", class: 'text-base hover:bg-base-300', data: { prefetch: false } do %>
|
|
|
|
<%= link_to Docuseal.multitenant? ? console_redirect_index_path(redir: "#{Docuseal::CONSOLE_URL}#{'/test' if current_account.testing?}/api") : "#{Docuseal::CONSOLE_URL}/on_premises", class: 'text-base hover:bg-base-300', data: { turbo: false } do %>
|
|
|
|
<% if Docuseal.multitenant? %> API <% else %> <%= t('console') %> <% end %>
|
|
|
|
<% if Docuseal.multitenant? %> API <% else %> <%= t('console') %> <% end %>
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|
</li>
|
|
|
|
</li>
|
|
|
|
<% if Docuseal.multitenant? %>
|
|
|
|
<% if Docuseal.multitenant? %>
|
|
|
|
<li>
|
|
|
|
<li>
|
|
|
|
<%= link_to console_redirect_index_path(redir: "#{Docuseal::CONSOLE_URL}#{'/test' if current_account.testing?}/embedding/form"), class: 'text-base hover:bg-base-300', data: { prefetch: false } do %>
|
|
|
|
<%= link_to console_redirect_index_path(redir: "#{Docuseal::CONSOLE_URL}#{'/test' if current_account.testing?}/embedding/form"), class: 'text-base hover:bg-base-300', data: { turbo: false } do %>
|
|
|
|
<%= t('embedding') %>
|
|
|
|
<%= t('embedding') %>
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|
</li>
|
|
|
|
</li>
|
|
|
|
|