mirror of https://github.com/docusealco/docuseal
feat: remove upstream SaaS gates and Unlock placeholders (B1) (#15)
- Remove Upgrade button from navbar settings pages - Clear all 'Unlock with DocuSeal Pro' placeholder banners: notifications reminders, bulk send, API/embedding, logo personalization, SMS settings, SSO settings - Remove DocuSeal Trusted Signature locked row from e-sign settings - Remove disabled Send SMS button from submission forms - All features behind these gates are already functional in self-hosted mode (multitenant? == false) Co-authored-by: Bob Develop <developbob50@gmail.com>pull/639/head
parent
b83d5b0b04
commit
51edacb301
@ -1,25 +1 @@
|
|||||||
<tr scope="row" class="group">
|
|
||||||
<td class="flex items-center space-x-1">
|
|
||||||
<%= svg_icon('discount_check_filled', class: 'w-6 h-6 text-green-500') %>
|
|
||||||
<span class="flex items-center">
|
|
||||||
<%= t('docuseal_trusted_signature') %>
|
|
||||||
<div class="tooltip ml-1" data-tip="<%= t('sign_documents_with_trusted_certificate_provided_by_docu_seal_your_documents_and_data_are_never_shared_with_docu_seal_p_d_f_checksum_is_provided_to_generate_a_trusted_signature') %>">
|
|
||||||
<%= svg_icon('circle_question', class: 'w-4 h-4 stroke-1') %>
|
|
||||||
</div>
|
|
||||||
</span>
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
<a href="<%= "#{Docuseal::CLOUD_URL}/sign_up?#{{ redir: "#{Docuseal::CONSOLE_URL}/on_premises" }.to_query}" %>" class="btn btn-neutral btn-sm text-white">
|
|
||||||
<%= t('unlock_with_docuseal_pro') %>
|
|
||||||
</a>
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
<div class="tooltip" data-tip="<%= t('unlock_with_docuseal_pro') %>">
|
|
||||||
<%= button_to settings_esign_path, method: :put, params: { name: Docuseal::AATL_CERT_NAME }, class: 'btn btn-outline btn-neutral btn-xs whitespace-nowrap', title: t('make_default'), disabled: true do %>
|
|
||||||
<%= t('make_default') %>
|
|
||||||
<% end %>
|
|
||||||
</div>
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
|
|||||||
@ -1 +1 @@
|
|||||||
<%= render 'reminder_placeholder' %>
|
|
||||||
|
|||||||
@ -1,15 +1 @@
|
|||||||
<div class="alert my-4">
|
|
||||||
<%= svg_icon('info_circle', class: 'w-6 h-6') %>
|
|
||||||
<div>
|
|
||||||
<p class="font-bold">
|
|
||||||
<%= t('unlock_with_docuseal_pro') %>
|
|
||||||
</p>
|
|
||||||
<p>
|
|
||||||
<%= t('send_automatic_email_reminders_to_your_recipients') %>
|
|
||||||
<br>
|
|
||||||
<a class="link font-medium" target="_blank" href="<%= Docuseal.multitenant? ? console_redirect_index_path(redir: "#{Docuseal::CONSOLE_URL}/plans") : "#{Docuseal::CLOUD_URL}/sign_up?#{{ redir: "#{Docuseal::CONSOLE_URL}/on_premises" }.to_query}" %>" data-turbo="false">
|
|
||||||
<%= t('learn_more') %>
|
|
||||||
</a>
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|||||||
@ -1,15 +1 @@
|
|||||||
<div class="alert my-4">
|
|
||||||
<%= svg_icon('info_circle', class: 'w-6 h-6') %>
|
|
||||||
<div>
|
|
||||||
<p class="font-bold">
|
|
||||||
<%= t('unlock_with_docuseal_pro') %>
|
|
||||||
</p>
|
|
||||||
<p>
|
|
||||||
<%= t('display_your_company_name_and_logo_when_signing_documents') %>
|
|
||||||
<br>
|
|
||||||
<a class="link font-medium" target="_blank" href="<%= Docuseal.multitenant? ? console_redirect_index_path(redir: "#{Docuseal::CONSOLE_URL}/plans") : "#{Docuseal::CLOUD_URL}/sign_up?#{{ redir: "#{Docuseal::CONSOLE_URL}/on_premises" }.to_query}" %>" data-turbo="false">
|
|
||||||
<%= t('learn_more') %>
|
|
||||||
</a>
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|||||||
@ -1,8 +1,3 @@
|
|||||||
<% if signed_in? && current_user != true_user %>
|
<% if signed_in? && current_user != true_user %>
|
||||||
<%= render 'shared/test_alert' %>
|
<%= render 'shared/test_alert' %>
|
||||||
<% elsif 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 %>
|
|
||||||
<span class="hidden md:inline-flex h-3 border-r border-base-content"></span>
|
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|||||||
@ -1,15 +1 @@
|
|||||||
<div class="alert">
|
|
||||||
<%= svg_icon('info_circle', class: 'w-6 h-6') %>
|
|
||||||
<div>
|
|
||||||
<p class="font-bold">
|
|
||||||
<%= t('send_signature_requests_via_sms') %>
|
|
||||||
</p>
|
|
||||||
<p class="text-gray-700">
|
|
||||||
<%= t('unlock_with_docuseal_pro') %>
|
|
||||||
<br>
|
|
||||||
<a class="link font-medium" target="_blank" href="<%= Docuseal.multitenant? ? console_redirect_index_path(redir: "#{Docuseal::CONSOLE_URL}/plans") : "#{Docuseal::CLOUD_URL}/sign_up?#{{ redir: "#{Docuseal::CONSOLE_URL}/on_premises" }.to_query}" %>" data-turbo="false">
|
|
||||||
<%= t('learn_more') %>
|
|
||||||
</a>
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|||||||
@ -1,15 +1 @@
|
|||||||
<div class="alert">
|
|
||||||
<%= svg_icon('info_circle', class: 'w-6 h-6') %>
|
|
||||||
<div>
|
|
||||||
<p class="font-bold">
|
|
||||||
<%= t('single_sign_on_with_saml_2_0') %>
|
|
||||||
</p>
|
|
||||||
<p class="text-gray-700">
|
|
||||||
<%= t('unlock_with_docuseal_pro') %>
|
|
||||||
<br>
|
|
||||||
<a class="link font-medium" target="_blank" href="<%= Docuseal.multitenant? ? console_redirect_index_path(redir: "#{Docuseal::CONSOLE_URL}/plans") : "#{Docuseal::CLOUD_URL}/sign_up?#{{ redir: "#{Docuseal::CONSOLE_URL}/on_premises" }.to_query}" %>" data-turbo="false">
|
|
||||||
<%= t('learn_more') %>
|
|
||||||
</a>
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|||||||
@ -1,15 +1 @@
|
|||||||
<div class="alert">
|
|
||||||
<%= svg_icon('info_circle', class: 'w-6 h-6') %>
|
|
||||||
<div>
|
|
||||||
<p class="font-bold">
|
|
||||||
<%= t('bulk_send_from_excel_xlsx_or_csv') %>
|
|
||||||
</p>
|
|
||||||
<p class="text-gray-700">
|
|
||||||
<%= t('unlock_with_docuseal_pro') %>
|
|
||||||
<br>
|
|
||||||
<a class="link font-medium" target="_blank" href="<%= Docuseal.multitenant? ? console_redirect_index_path(redir: "#{Docuseal::CONSOLE_URL}/plans") : "#{Docuseal::CLOUD_URL}/sign_up?#{{ redir: "#{Docuseal::CONSOLE_URL}/on_premises" }.to_query}" %>" data-turbo="false">
|
|
||||||
<%= t('learn_more') %>
|
|
||||||
</a>
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|||||||
@ -1 +1 @@
|
|||||||
<%= render 'submissions/bulk_send_placeholder' %>
|
|
||||||
|
|||||||
@ -1,3 +1 @@
|
|||||||
<div class="form-control">
|
|
||||||
<%= render 'sms_settings/placeholder' %>
|
|
||||||
</div>
|
|
||||||
|
|||||||
@ -1,5 +1 @@
|
|||||||
<div class="mt-2 mb-1">
|
|
||||||
<div class="tooltip w-full" data-tip="<%= t('unlock_with_docuseal_pro') %>">
|
|
||||||
<%= link_to submitter.sent_at? ? t('re_send_sms') : t('send_sms'), 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: 'btn btn-sm btn-primary text-gray-400 w-full' %>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|||||||
@ -1,15 +1 @@
|
|||||||
<div class="alert">
|
|
||||||
<%= svg_icon('info_circle', class: 'w-6 h-6') %>
|
|
||||||
<div>
|
|
||||||
<p class="font-bold">
|
|
||||||
<%= t('api_and_embedding') %>
|
|
||||||
</p>
|
|
||||||
<p class="text-gray-700">
|
|
||||||
<%= t('unlock_with_docuseal_pro') %>
|
|
||||||
<br>
|
|
||||||
<a class="link font-medium" target="_blank" href="<%= Docuseal.multitenant? ? console_redirect_index_path(redir: "#{Docuseal::CONSOLE_URL}/plans") : "#{Docuseal::CLOUD_URL}/sign_up?#{{ redir: "#{Docuseal::CONSOLE_URL}/on_premises" }.to_query}" %>" data-turbo="false">
|
|
||||||
<%= t('learn_more') %>
|
|
||||||
</a>
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|||||||
Loading…
Reference in new issue