diff --git a/app/views/icons/_start.html.erb b/app/views/icons/_start.html.erb new file mode 100644 index 00000000..1ba5362d --- /dev/null +++ b/app/views/icons/_start.html.erb @@ -0,0 +1,4 @@ + + + + diff --git a/app/views/shared/_github.html.erb b/app/views/shared/_github.html.erb index 5df071f2..41f05307 100644 --- a/app/views/shared/_github.html.erb +++ b/app/views/shared/_github.html.erb @@ -1,3 +1,6 @@ - - GitHub Repo stars + + + <%= svg_icon('start', class: 'h-3 w-3') %> + 9k + diff --git a/app/views/shared/_navbar.html.erb b/app/views/shared/_navbar.html.erb index f23bcd0f..2b3f1393 100644 --- a/app/views/shared/_navbar.html.erb +++ b/app/views/shared/_navbar.html.erb @@ -5,7 +5,7 @@ <%= render 'shared/title' %> <% if signed_in? %> diff --git a/app/views/shared/_navbar_buttons.html.erb b/app/views/shared/_navbar_buttons.html.erb index 1d5b8cff..d501624a 100644 --- a/app/views/shared/_navbar_buttons.html.erb +++ b/app/views/shared/_navbar_buttons.html.erb @@ -1,8 +1,10 @@ -<%= 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: 'hidden md:inline-flex btn btn-warning btn-sm', data: { prefetch: false } do %> - <%= t('upgrade') %> +<% if request.path.starts_with?('/settings') %> + <%= link_to "#{Docuseal::CLOUD_URL}/sign_up?#{{ redir: "#{Docuseal::CONSOLE_URL}/on_premises" }.to_query}", class: 'hidden md:inline-flex btn btn-warning btn-sm', data: { prefetch: false } do %> + <%= t('upgrade') %> + <% end %> <% end %> <% if signed_in? && current_user != true_user %> - <%= render 'shared/test_alert' %> +<% elsif request.path.starts_with?('/settings') %> + <% end %> - diff --git a/app/views/shared/_settings_nav.html.erb b/app/views/shared/_settings_nav.html.erb index aa468171..8355f543 100644 --- a/app/views/shared/_settings_nav.html.erb +++ b/app/views/shared/_settings_nav.html.erb @@ -66,7 +66,7 @@
  • <%= 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 %> <%= t('plans') %> - <%= t('new') %> + <%= t('pro') %> <% end %>
  • <% end %> diff --git a/config/locales/i18n.yml b/config/locales/i18n.yml index eda060e5..71e846ab 100644 --- a/config/locales/i18n.yml +++ b/config/locales/i18n.yml @@ -20,6 +20,7 @@ en: &en language_ko: 한국어 language_ja: 日本語 hi_there: Hi there + pro: Pro thanks: Thanks private: Private default_parties: Default parties @@ -884,6 +885,7 @@ en: &en range_without_total: "%{from}-%{to} events" es: &es + pro: Pro default_parties: Partes predeterminadas authenticate_embedded_form_preview_with_token: Autenticar vista previa del formulario incrustado con token require_all_recipients: Requerir a todos los destinatarios @@ -1749,6 +1751,7 @@ es: &es range_without_total: "%{from}-%{to} eventos" it: &it + pro: Pro default_parties: Parti predefiniti authenticate_embedded_form_preview_with_token: "Autentica l'anteprima del modulo incorporato con il token" require_all_recipients: Richiedi tutti i destinatari @@ -2613,6 +2616,7 @@ it: &it range_without_total: "%{from}-%{to} eventi" fr: &fr + pro: Pro default_parties: Parties par défaut authenticate_embedded_form_preview_with_token: Authentifier l’aperçu du formulaire intégré avec un jeton require_all_recipients: Exiger tous les destinataires @@ -3480,6 +3484,7 @@ fr: &fr range_without_total: "%{from} à %{to} événements" pt: &pt + pro: Pro default_parties: Partes padrão authenticate_embedded_form_preview_with_token: Autenticar visualização incorporada do formulário com token require_all_recipients: Exigir todos os destinatários @@ -4346,6 +4351,7 @@ pt: &pt range_without_total: "%{from}-%{to} eventos" de: &de + pro: Pro default_parties: Standardparteien authenticate_embedded_form_preview_with_token: Authentifizieren Sie die eingebettete Formularvorschau mit Token require_all_recipients: Alle Empfänger erforderlich