mirror of https://github.com/docusealco/docuseal
				
				
				
			
							parent
							
								
									e6c20f5ff6
								
							
						
					
					
						commit
						2f530ccfca
					
				| @ -1,7 +1,7 @@ | |||||||
| <% if @body.present? %> | <% if @body.present? %> | ||||||
|   <%= render 'custom_content', content: @body, submitter: @submitter %> |   <%= render 'custom_content', content: @body, submitter: @submitter %> | ||||||
| <% else %> | <% else %> | ||||||
|   <p>Hi there,</p> |   <p><%= t('hi_there') %>,</p> | ||||||
|   <p>"<%= @submitter.submission.template.name %>" form has been completed by <%= @submitter.submission.submitters.order(:completed_at).map { |e| e.name || e.email || e.phone }.join(', ') %>.</p> |   <p><%= I18n.t(:name_has_been_completed_by_submitters, name: @submitter.submission.template.name, submitters: @submitter.submission.submitters.order(:completed_at).map { |e| e.name || e.email || e.phone }.join(', ')) %></p> | ||||||
|   <p><%= link_to 'View Submission', submission_url(@submitter.submission) %></p> |   <p><%= link_to submission_url(@submitter.submission), submission_url(@submitter.submission) %></p> | ||||||
| <% end %> | <% end %> | ||||||
|  | |||||||
| @ -1,4 +1,4 @@ | |||||||
| <p><%= t('hi_there') %>,</p> | <p><%= t('hi_there') %>,</p> | ||||||
| <p><%= t('name_declined_by_submitter_with_the_following_reason', name: @submitter.submission.template.name, submitter: @submitter.name || @submitter.email || @submitter.phone) %></p> | <p><%= t('name_declined_by_submitter_with_the_following_reason', name: @submitter.submission.template.name, submitter: @submitter.name || @submitter.email || @submitter.phone) %></p> | ||||||
| <%= simple_format(h(@submitter.submission_events.find_by(event_type: :decline_form).data['reason'])) %> | <%= simple_format(h(@submitter.submission_events.find_by(event_type: :decline_form).data['reason'])) %> | ||||||
| <p><%= link_to t('view'), submission_url(@submitter.submission) %></p> | <p><%= link_to submission_url(@submitter.submission), submission_url(@submitter.submission) %></p> | ||||||
|  | |||||||
| @ -1,13 +1,13 @@ | |||||||
| <% if @body.present? %> | <% if @body.present? %> | ||||||
|   <%= render 'custom_content', content: @body, submitter: @submitter, sig: @sig %> |   <%= render 'custom_content', content: @body, submitter: @submitter, sig: @sig %> | ||||||
| <% else %> | <% else %> | ||||||
|   <p>Hi there,</p> |   <p><%= t('hi_there') %>,</p> | ||||||
|   <p>Please check the copy of your "<%= @submitter.submission.template.name %>" submission in the email attachments.</p> |   <p><%= t('please_check_the_copy_of_your_name_in_the_email_attachments', name: @submitter.submission.template.name) %> | ||||||
|   <p>Alternatively, you can review and download your copy using:</p> |   <p><%= t('alternatively_you_can_review_and_download_your_copy_using_the_link_below') %></p> | ||||||
|   <p> |   <p> | ||||||
|     <%= link_to @submitter.template.name, submissions_preview_url(@submitter.submission.slug, { sig: @sig }.compact) %> |     <%= link_to @submitter.template.name, submissions_preview_url(@submitter.submission.slug, { sig: @sig }.compact) %> | ||||||
|   </p> |   </p> | ||||||
|   <p> |   <p> | ||||||
|     Thanks,<br><%= @current_account.name %> |   <%= t('thanks') %>,<br><%= @current_account.name %> | ||||||
|   </p> |   </p> | ||||||
| <% end %> | <% end %> | ||||||
|  | |||||||
					Loading…
					
					
				
		Reference in new issue