diff --git a/app/views/accounts/show.html.erb b/app/views/accounts/show.html.erb index 67019274..46787131 100644 --- a/app/views/accounts/show.html.erb +++ b/app/views/accounts/show.html.erb @@ -1,6 +1,6 @@
<%= render 'shared/settings_nav' %> -
+

<%= t('account') %>

diff --git a/app/views/email_smtp_settings/index.html.erb b/app/views/email_smtp_settings/index.html.erb index 80c7eb3b..cd750acf 100644 --- a/app/views/email_smtp_settings/index.html.erb +++ b/app/views/email_smtp_settings/index.html.erb @@ -1,6 +1,6 @@
<%= render 'shared/settings_nav' %> -
+

Email SMTP

<% value = @encrypted_config.value || {} %> <%= form_for @encrypted_config, url: settings_email_index_path, method: :post, html: { autocomplete: 'off', class: 'space-y-4' } do |f| %> diff --git a/app/views/notifications_settings/index.html.erb b/app/views/notifications_settings/index.html.erb index 7f408c52..8703c440 100644 --- a/app/views/notifications_settings/index.html.erb +++ b/app/views/notifications_settings/index.html.erb @@ -1,6 +1,6 @@
<%= render 'shared/settings_nav' %> -
+

<%= t('email_notifications') %>

diff --git a/app/views/personalization_settings/show.html.erb b/app/views/personalization_settings/show.html.erb index 3ea5d1db..20ea3c78 100644 --- a/app/views/personalization_settings/show.html.erb +++ b/app/views/personalization_settings/show.html.erb @@ -1,6 +1,6 @@
<%= render 'shared/settings_nav' %> -
+

<%= t('email_templates') %>

diff --git a/app/views/profile/index.html.erb b/app/views/profile/index.html.erb index f5945d7f..6444c53f 100644 --- a/app/views/profile/index.html.erb +++ b/app/views/profile/index.html.erb @@ -1,6 +1,6 @@
<%= render 'shared/settings_nav' %> -
+

<%= t('profile') %>

diff --git a/app/views/shared/_settings_nav.html.erb b/app/views/shared/_settings_nav.html.erb index 1a8f1fee..c2d9bc3a 100644 --- a/app/views/shared/_settings_nav.html.erb +++ b/app/views/shared/_settings_nav.html.erb @@ -1,166 +1,168 @@ <% expanded = local_assigns[:expanded] %> -<% unless expanded %> - -<% end %> -
- - + + <% if Docuseal.multitenant? || cannot?(:manage, :tenants) %> +
+
+ <%= t('need_help_ask_a_question_') %>
- <%= capture do %> - - - <%= Docuseal::SUPPORT_EMAIL %> - - <% if Docuseal.version.present? && !Docuseal.multitenant? && can?(:manage, EncryptedConfig) %> - - v<%= Docuseal.version %> - - <% end %> -
- <% end %> + <% end %> +
diff --git a/app/views/sms_settings/index.html.erb b/app/views/sms_settings/index.html.erb index 58051458..2c2d2e90 100644 --- a/app/views/sms_settings/index.html.erb +++ b/app/views/sms_settings/index.html.erb @@ -1,6 +1,6 @@
<%= render 'shared/settings_nav' %> -
+

SMS

<%= render 'placeholder' %>
diff --git a/app/views/sso_settings/index.html.erb b/app/views/sso_settings/index.html.erb index dd3e4fb6..9ac6bdf2 100644 --- a/app/views/sso_settings/index.html.erb +++ b/app/views/sso_settings/index.html.erb @@ -1,6 +1,6 @@
<%= render 'shared/settings_nav' %> -
+

SAML SSO

<%= render 'placeholder' %>
diff --git a/app/views/storage_settings/index.html.erb b/app/views/storage_settings/index.html.erb index b2cc9a6d..e4a5bd95 100644 --- a/app/views/storage_settings/index.html.erb +++ b/app/views/storage_settings/index.html.erb @@ -1,6 +1,6 @@
<%= render 'shared/settings_nav' %> -
+

<%= t('storage') %>