• <%= svg_icon('arrow_left', class: 'w-4 h-4 stroke-2') %><%= t('back') %>
  • <%= t('settings') %>
  • <%= link_to t('profile'), settings_profile_index_path, class: 'text-base hover:bg-base-300' %>
  • <%= link_to t('account'), settings_account_path, class: 'text-base hover:bg-base-300' %>
  • <% unless Docuseal.multitenant? %> <% if can?(:read, EncryptedConfig.new(key: EncryptedConfig::EMAIL_SMTP_KEY, account: current_account)) && ENV['SMTP_ADDRESS'].blank? && true_user == current_user %>
  • <%= link_to t('email'), settings_email_index_path, class: 'text-base hover:bg-base-300' %>
  • <% end %> <% if can?(:read, EncryptedConfig.new(key: EncryptedConfig::FILES_STORAGE_KEY, account: current_account)) && true_user == current_user %>
  • <%= link_to t('storage'), settings_storage_index_path, class: 'text-base hover:bg-base-300' %>
  • <% end %> <% end %> <% if can?(:read, AccountConfig) %>
  • <%= link_to t('notifications'), settings_notifications_path, class: 'text-base hover:bg-base-300' %>
  • <% end %> <% if can?(:read, EncryptedConfig.new(key: EncryptedConfig::ESIGN_CERTS_KEY, account: current_account)) %>
  • <%= link_to t('e_signature'), settings_esign_path, class: 'text-base hover:bg-base-300' %>
  • <% end %> <% if can?(:read, AccountConfig) %>
  • <%= link_to t('personalization'), settings_personalization_path, class: 'text-base hover:bg-base-300' %>
  • <% end %> <% if can?(:read, User) %>
  • <%= link_to t('users'), settings_users_path, class: 'text-base hover:bg-base-300' %>
  • <% end %> <%= render 'shared/settings_nav_extra' %> <% if Docuseal.demo? || !Docuseal.multitenant? %> <% if can?(:read, AccessToken) && current_user.role != User::USER_ROLE %>
  • <%= link_to 'API', settings_api_index_path, class: 'text-base hover:bg-base-300' %>
  • <% end %> <% end %> <% if Docuseal.demo? || !Docuseal.multitenant? || (current_user != true_user && !current_account.testing?) %> <% if can?(:read, WebhookUrl) %>
  • <%= link_to 'Webhooks', settings_webhooks_path, class: 'text-base hover:bg-base-300' %>
  • <% end %> <% end %> <% if !Docuseal.demo? && can?(:manage, EncryptedConfig) && (current_user == true_user || current_account.testing?) %> <%= render 'shared/settings_nav_extra2' %> <% if (can?(:manage, EncryptedConfig) && current_user == true_user) || (current_user != true_user && current_account.testing?) %> <%= form_for '', url: testing_account_path, method: current_account.testing? ? :delete : :get, html: { class: 'w-full' } do |f| %>
  • <% end %> <% end %> <% end %>