refactor pdf info creator
This commit is contained in:
@@ -17,7 +17,6 @@ module Submissions
|
||||
'Helvetica'
|
||||
end
|
||||
|
||||
INFO_CREATOR = "#{Docuseal.product_name} (#{Docuseal::PRODUCT_URL})".freeze
|
||||
SIGN_REASON = 'Signed with DocuSeal.co'
|
||||
VERIFIED_TEXT = 'Verified'
|
||||
UNVERIFIED_TEXT = 'Unverified'
|
||||
@@ -268,7 +267,7 @@ module Submissions
|
||||
|
||||
io = StringIO.new
|
||||
|
||||
composer.document.trailer.info[:Creator] = INFO_CREATOR
|
||||
composer.document.trailer.info[:Creator] = "#{Docuseal.product_name} (#{Docuseal::PRODUCT_URL})"
|
||||
|
||||
sign_params = {
|
||||
reason: SIGN_REASON,
|
||||
|
||||
@@ -10,7 +10,6 @@ module Submissions
|
||||
'Helvetica'
|
||||
end
|
||||
|
||||
INFO_CREATOR = "#{Docuseal.product_name} (#{Docuseal::PRODUCT_URL})".freeze
|
||||
SIGN_REASON = 'Signed by %<name>s with DocuSeal.co'
|
||||
SIGN_SIGNLE_REASON = 'Digitally signed with DocuSeal.co'
|
||||
|
||||
@@ -344,7 +343,7 @@ module Submissions
|
||||
end
|
||||
|
||||
def info_creator
|
||||
INFO_CREATOR
|
||||
"#{Docuseal.product_name} (#{Docuseal::PRODUCT_URL})"
|
||||
end
|
||||
|
||||
def h
|
||||
|
||||
Reference in New Issue
Block a user