Skip to content

Commit 2a2cea3

Browse files
dnplkndllclaude
andcommitted
Rebrand to Kencove eSign: use dynamic product name and add REMOVE_BRANDING option
Replace all hardcoded "DocuSeal" references in views and PDF generation with Docuseal.product_name for consistent branding. Add REMOVE_BRANDING env var to conditionally hide "powered by" footer and email attribution. Co-Authored-By: Claude Opus 4.6 <[email protected]>
1 parent a14f46d commit 2a2cea3

File tree

13 files changed

+22
-12
lines changed

13 files changed

+22
-12
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
<title>
2-
<%= content_for(:html_title) || (signed_in? ? 'DocuSeal' : 'DocuSeal | Open Source Document Signing') %>
2+
<%= content_for(:html_title) || (signed_in? ? Docuseal.product_name : "#{Docuseal.product_name} | Document Signing") %>
33
</title>
44
<%= render 'shared/meta' %>

app/views/shared/_email_attribution.html.erb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<% unless Docuseal.remove_branding? %>
12
<p>
23
---
34
</p>
@@ -8,3 +9,4 @@
89
<%= t('sent_using_product_name_free_document_signing_html', product_url: "#{Docuseal::PRODUCT_EMAIL_URL}/start", product_name: Docuseal.product_name) %>
910
<% end %>
1011
</p>
12+
<% end %>

app/views/shared/_meta.html.erb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
<% if Docuseal.demo? || (request.path != '/' && !devise_controller?) %>
22
<meta name="robots" content="noindex">
33
<% end %>
4-
<% title = content_for(:html_title) || (signed_in? ? 'DocuSeal' : 'DocuSeal | Open Source Document Signing') %>
4+
<% title = content_for(:html_title) || (signed_in? ? Docuseal.product_name : "#{Docuseal.product_name} | Document Signing") %>
55
<% description = content_for(:html_description) || 'Open source, self-hosted tool to streamline document filling and signing. Create custom PDF forms to complete and sign with an easy to use online tool.' %>
66
<meta name="description" content="<%= description %>">
77
<meta property="og:title" content="<%= title %>">
88
<meta property="og:description" content="<%= description %>">
99
<meta property="og:type" content="website">
1010
<meta property="og:url" content="<%= root_url %>">
11-
<meta property="og:site_name" content="DocuSeal">
11+
<meta property="og:site_name" content="<%= Docuseal.product_name %>">
1212
<% if content_for(:disable_image_preview) %>
1313
<meta property="og:image" content="">
1414
<meta name="twitter:image" content="">

app/views/shared/_powered_by.html.erb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<% unless Docuseal.remove_branding? %>
12
<div class="text-center px-2">
23
<% if local_assigns[:with_counter] %>
34
<% count = CompletedSubmitter.distinct.count(:submission_id) %>
@@ -11,3 +12,4 @@
1112
<% end %>
1213
<a href="<%= Docuseal::PRODUCT_URL %><%= local_assigns[:link_path] %>" class="underline"><%= Docuseal.product_name %></a> - <%= t('open_source_documents_software') %>
1314
</div>
15+
<% end %>

app/views/start_form/_docuseal_logo.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
<span class="mr-3">
33
<%= render 'shared/logo', width: '50px', height: '50px' %>
44
</span>
5-
<h1 class="text-5xl font-bold text-center">DocuSeal</h1>
5+
<h1 class="text-5xl font-bold text-center"><%= Docuseal.product_name %></h1>
66
</a>

app/views/start_form/email_verification.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<% content_for(:html_title, "#{@template.name} | DocuSeal") %>
1+
<% content_for(:html_title, "#{@template.name} | #{Docuseal.product_name}") %>
22
<% I18n.with_locale(@template.account.locale) do %>
33
<% content_for(:html_description, t('account_name_has_invited_you_to_fill_and_sign_documents_online_effortlessly_with_a_secure_fast_and_user_friendly_digital_document_signing_solution', account_name: @template.account.name)) %>
44
<% end %>

app/views/start_form/private.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<% content_for(:html_title, "#{@template.name} | DocuSeal") %>
1+
<% content_for(:html_title, "#{@template.name} | #{Docuseal.product_name}") %>
22
<% I18n.with_locale(@template.account.locale) do %>
33
<% content_for(:html_description, t('share_link_is_currently_disabled')) %>
44
<% end %>

app/views/start_form/show.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<% content_for(:html_title, "#{@template.name} | DocuSeal") %>
1+
<% content_for(:html_title, "#{@template.name} | #{Docuseal.product_name}") %>
22
<% I18n.with_locale(@template.account.locale) do %>
33
<% content_for(:html_description, t('account_name_has_invited_you_to_fill_and_sign_documents_online_effortlessly_with_a_secure_fast_and_user_friendly_digital_document_signing_solution', account_name: @template.account.name)) %>
44
<% end %>

app/views/submit_form/email_2fa.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<% content_for(:html_title, "#{@submitter.submission.name || @submitter.submission.template.name} | DocuSeal") %>
1+
<% content_for(:html_title, "#{@submitter.submission.name || @submitter.submission.template.name} | #{Docuseal.product_name}") %>
22
<% I18n.with_locale(@submitter.account.locale) do %>
33
<% content_for(:html_description, t('account_name_has_invited_you_to_fill_and_sign_documents_online_effortlessly_with_a_secure_fast_and_user_friendly_digital_document_signing_solution', account_name: @submitter.account.name)) %>
44
<% end %>

app/views/submit_form/show.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<% content_for(:html_title, "#{@submitter.submission.name || @submitter.submission.template.name} | DocuSeal") %>
1+
<% content_for(:html_title, "#{@submitter.submission.name || @submitter.submission.template.name} | #{Docuseal.product_name}") %>
22
<% I18n.with_locale(@submitter.account.locale) do %>
33
<% content_for(:html_description, t('account_name_has_invited_you_to_fill_and_sign_documents_online_effortlessly_with_a_secure_fast_and_user_friendly_digital_document_signing_solution', account_name: @submitter.account.name)) %>
44
<% end %>

0 commit comments

Comments
 (0)