<commit_before>extends /layouts/default

block body-contents
	h1 Hi #{admin},
	p.text-larger An enquiry was just submitted to #{brand}:
	if enquiry.name.full || enquiry.email
		p.text-larger From 
			if enquiry.name.full
				| <strong>#{enquiry.name.full}</strong>
			if enquiry.name.full && enquiry.email
				|  (
			if enquiry.email
				| <a href="mailto:#{enquiry.email}">#{enquiry.email}</a>
			if enquiry.name.full && enquiry.email
				| )
	if enquiry.phone
		p.text-larger Phone: #{enquiry.phone}
	if enquiry.enquiryType
		p.text-larger #{enquiry._.enquiryType.format()}
	if enquiry.message
		.text-larger !{enquiry.message.html}
	p.text-muted Sent #{enquiry._.createdAt.format()}
	p &nbsp;
	+button({ url: server_url + enquiry_url, label: 'Open Keystone' })<commit_msg>Fixing enquiry notification email template<commit_after>extends /layouts/default

block body-contents
	h1 Hi *|first_name|*,
	p.text-larger An enquiry was just submitted to #{brand}:
	if enquiry.name.full || enquiry.email
		p.text-larger From 
			if enquiry.name.full
				| <strong>#{enquiry.name.full}</strong>
			if enquiry.name.full && enquiry.email
				|  (
			if enquiry.email
				| <a href="mailto:#{enquiry.email}">#{enquiry.email}</a>
			if enquiry.name.full && enquiry.email
				| )
	if enquiry.phone
		p.text-larger Phone: #{enquiry.phone}
	if enquiry.enquiryType
		p.text-larger #{enquiry._.enquiryType.format()}
	if enquiry.message
		.text-larger !{enquiry.message.html}
	p.text-muted Sent #{enquiry._.createdAt.format()}
	p &nbsp;
	+button({ url: '/keystone/enquiries/' + enquiry.id, label: 'Open Keystone' })
{'fraction_non_alphanumeric': 0.15331664580725907, 'fraction_numerical': 0.0012515644555694619, 'mean_word_length': 3.8308157099697886, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '413158', 'n_tokens_mistral': 645, 'n_tokens_neox': 599, 'n_words': 120}