From 24bf52cd83fe49d22ec72782b4964da8023648dd Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 31 Mar 2026 22:51:57 +0000 Subject: [PATCH] Remove "Sent using DocuSeal free document signing" footer from emails Remove the hardcoded attribution footer that was appended to all transactional emails (signature request, documents copy, completed notification). Deletes the email_attribution and mailer_attribution partials and removes the associated i18n keys across all languages. https://claude.ai/code/session_01JiEHTCoWJg2T6PQjiwapK9 --- app/views/layouts/mailer.html.erb | 1 - app/views/shared/_email_attribution.html.erb | 10 --------- app/views/shared/_mailer_attribution.html.erb | 1 - config/locales/i18n.yml | 21 ------------------- 4 files changed, 33 deletions(-) delete mode 100644 app/views/shared/_email_attribution.html.erb delete mode 100644 app/views/shared/_mailer_attribution.html.erb diff --git a/app/views/layouts/mailer.html.erb b/app/views/layouts/mailer.html.erb index 62b825ff..27b4d01b 100644 --- a/app/views/layouts/mailer.html.erb +++ b/app/views/layouts/mailer.html.erb @@ -7,6 +7,5 @@ <%= yield %> - <%= render partial: 'shared/mailer_attribution' %> diff --git a/app/views/shared/_email_attribution.html.erb b/app/views/shared/_email_attribution.html.erb deleted file mode 100644 index 8cfd4988..00000000 --- a/app/views/shared/_email_attribution.html.erb +++ /dev/null @@ -1,10 +0,0 @@ -

- --- -

-

- <% if @current_account&.testing? %> - <%= t('sent_using_product_name_in_testing_mode_html', product_url: "#{Docuseal::PRODUCT_EMAIL_URL}/start", product_name: Docuseal.product_name) %> - <% else %> - <%= t('sent_using_product_name_free_document_signing_html', product_url: "#{Docuseal::PRODUCT_EMAIL_URL}/start", product_name: Docuseal.product_name) %> - <% end %> -

diff --git a/app/views/shared/_mailer_attribution.html.erb b/app/views/shared/_mailer_attribution.html.erb deleted file mode 100644 index b9fa9276..00000000 --- a/app/views/shared/_mailer_attribution.html.erb +++ /dev/null @@ -1 +0,0 @@ -<%= render 'shared/email_attribution' %> diff --git a/config/locales/i18n.yml b/config/locales/i18n.yml index 0baaa19b..c9cb6b2b 100644 --- a/config/locales/i18n.yml +++ b/config/locales/i18n.yml @@ -83,9 +83,6 @@ en: &en hello_name: Hi %{name} you_are_invited_to_product_name: You are invited to %{product_name} you_have_been_invited_to_account_name_product_name_please_sign_up_using_the_link_below_: 'You have been invited to %{account_name} %{product_name}. Please sign up using the link below:' - sent_using_product_name_in_testing_mode_html: 'Sent using %{product_name} in testing mode' - sent_using_product_name_free_document_signing_html: 'Sent using %{product_name} free document signing.' - sent_with_docuseal_pro_html: 'Sent with DocuSeal Pro' show_send_with_docuseal_pro_attribution_in_emails_html: Show "Sent with DocuSeal Pro" attribution in emails 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: Sign documents with trusted certificate provided by DocuSeal. Your documents and data are never shared with DocuSeal. PDF checksum is provided to generate a trusted signature. you_have_been_invited_to_submit_the_name_form: 'You have been invited to submit the "%{name}" form.' @@ -1121,9 +1118,6 @@ es: &es hello_name: Hola %{name} you_are_invited_to_product_name: Estás invitado a %{product_name} you_have_been_invited_to_account_name_product_name_please_sign_up_using_the_link_below_: 'Has sido invitado a %{account_name} %{product_name}. Por favor, regístrate usando el enlace a continuación:' - sent_using_product_name_in_testing_mode_html: 'Enviado usando %{product_name} en Modo de Prueba' - sent_using_product_name_free_document_signing_html: 'Enviado usando la firma de documentos gratuita de %{product_name}.' - sent_with_docuseal_pro_html: 'Enviado con DocuSeal Pro' show_send_with_docuseal_pro_attribution_in_emails_html: Mostrar el mensaje "Enviado con DocuSeal Pro" en los correos electrónicos 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: Firme documentos con un certificado de confianza proporcionado por DocuSeal. Sus documentos y datos nunca se comparten con DocuSeal. Se proporciona un checksum de PDF para generar una firma de confianza. hi_there: Hola @@ -2156,9 +2150,6 @@ it: &it hello_name: Ciao %{name} you_are_invited_to_product_name: Sei stato invitato a %{product_name} you_have_been_invited_to_account_name_product_name_please_sign_up_using_the_link_below_: 'Sei stato invitato a %{account_name} %{product_name}. Registrati utilizzando il link qui sotto:' - sent_using_product_name_in_testing_mode_html: 'Inviato utilizzando %{product_name} in Modalità di Test' - sent_using_product_name_free_document_signing_html: 'Inviato utilizzando la firma di documenti gratuita di %{product_name}.' - sent_with_docuseal_pro_html: 'Inviato con DocuSeal Pro' show_send_with_docuseal_pro_attribution_in_emails_html: Mostra la dicitura "Inviato con DocuSeal Pro" nelle email 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: "Firma documenti con un certificato di fiducia fornito da DocuSeal. I tuoi documenti e i tuoi dati non vengono mai condivisi con DocuSeal. Il checksum PDF è fornito per generare una firma di fiducia." hi_there: Ciao @@ -3192,9 +3183,6 @@ fr: &fr hello_name: Bonjour %{name} you_are_invited_to_product_name: Vous êtes invité à %{product_name} you_have_been_invited_to_account_name_product_name_please_sign_up_using_the_link_below_: 'Vous avez été invité à %{account_name} %{product_name}. Veuillez vous inscrire en utilisant le lien ci-dessous :' - sent_using_product_name_in_testing_mode_html: Envoyé avec %{product_name} en mode test - sent_using_product_name_free_document_signing_html: Envoyé avec %{product_name} signature de documents gratuite. - sent_with_docuseal_pro_html: Envoyé avec DocuSeal Pro show_send_with_docuseal_pro_attribution_in_emails_html: Afficher l’attribution "Envoyé avec DocuSeal Pro" dans les e‑mails 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: Signez des documents avec un certificat de confiance fourni par DocuSeal. Vos documents et données ne sont jamais partagés avec DocuSeal. Une empreinte (checksum) PDF est fournie pour générer une signature de confiance. hi_there: Bonjour @@ -4224,9 +4212,6 @@ pt: &pt hello_name: Olá %{name} you_are_invited_to_product_name: Você está convidado para %{product_name} you_have_been_invited_to_account_name_product_name_please_sign_up_using_the_link_below_: 'Você foi convidado para %{account_name} %{product_name}. Inscreva-se usando o link abaixo:' - sent_using_product_name_in_testing_mode_html: 'Enviado usando %{product_name} no Modo de Teste' - sent_using_product_name_free_document_signing_html: 'Enviado usando a assinatura gratuita de documentos de %{product_name}.' - sent_with_docuseal_pro_html: 'Enviado com DocuSeal Pro' show_send_with_docuseal_pro_attribution_in_emails_html: Mostrar "Enviado com DocuSeal Pro" nos e-mails 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: Assine documentos com certificado confiável fornecido pela DocuSeal. Seus documentos e dados nunca são compartilhados com a DocuSeal. O checksum do PDF é fornecido para gerar uma assinatura confiável. hi_there: Olá @@ -5259,9 +5244,6 @@ de: &de hello_name: Hallo %{name} you_are_invited_to_product_name: Sie sind zu %{product_name} eingeladen you_have_been_invited_to_account_name_product_name_please_sign_up_using_the_link_below_: 'Sie wurden zu %{account_name} %{product_name} eingeladen. Bitte registrieren Sie sich über den folgenden Link:' - sent_using_product_name_in_testing_mode_html: 'Gesendet über %{product_name} im Testmodus' - sent_using_product_name_free_document_signing_html: 'Gesendet mit der kostenlosen Dokumentensignierung von %{product_name}.' - sent_with_docuseal_pro_html: Gesendet mit DocuSeal Pro show_send_with_docuseal_pro_attribution_in_emails_html: '"Gesendet mit DocuSeal Pro" in E-Mails anzeigen' 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: Unterzeichnen Sie Dokumente mit einem vertrauenswürdigen Zertifikat von DocuSeal. Ihre Dokumente und Daten werden niemals mit DocuSeal geteilt. Eine PDF-Prüfsumme wird bereitgestellt, um eine vertrauenswürdige Signatur zu generieren. you_have_been_invited_to_submit_the_name_form: 'Sie wurden eingeladen, das Formular "%{name}" einzureichen.' @@ -6694,9 +6676,6 @@ nl: &nl hello_name: Hallo %{name} you_are_invited_to_product_name: U bent uitgenodigd voor %{product_name} you_have_been_invited_to_account_name_product_name_please_sign_up_using_the_link_below_: 'U bent uitgenodigd voor %{account_name} %{product_name}. Meld u aan via de onderstaande link:' - sent_using_product_name_in_testing_mode_html: Verzonden met %{product_name} in testmodus - sent_using_product_name_free_document_signing_html: Verzonden met %{product_name} gratis documentondertekening. - sent_with_docuseal_pro_html: Verzonden met DocuSeal Pro show_send_with_docuseal_pro_attribution_in_emails_html: Toon de vermelding 'Verzonden met DocuSeal Pro' in e-mails ? 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 : Onderteken documenten met een vertrouwd certificaat geleverd door DocuSeal. Uw documenten en gegevens worden nooit gedeeld met DocuSeal. PDF-checksum wordt verstrekt om een vertrouwde handtekening te genereren.