Returns only email templates
GET /api/v1/page_templates
Parameters
| Name |
Description |
|
email
|
Only email templates
|
Request
Headers
Route
GET /api/v1/page_templates?email=true
Query Parameters
email: true
cURL
curl "http://localhost:3000/api/v1/page_templates?email=true" -X GET \
-H "Accept: application/json" \
-H "X-Api-Token: HsiELGm4iBda1nwVsyX83GVNmBALLa1syQ" \
-H "X-Api-Email: user-690@example.com" \
-H "Content-Type: application/json" \
-H "Host: school.worksonmy.computer"
Response
Headers
Status
200 OK
Body
{
"page_templates": {
"fedora_mailer/confirmation_instructions": {
"contents": "<!--\nEmail template: confirmation_instructions\nDescription: This email is sent when giving confirmation instructions.\n -->\n\n <!-- Auto-generated JSON-ld compliant JSON for showing action buttons in emails -->\n<script type=\"application/ld+json\">{{ goto_action_json }}</script>\n\n<!-- Content -->\n<div class=\"header-title\">\n <h1>Welcome, {{ user.name }}!</h1>\n <p>{{ added_message }}</p>\n</div>\n\n<p>Please confirm your account by clicking the button below:</p>\n\n<p class=\"text-center\"><a class=\"confirmation-url btn-primary\" href=\"{{confirmation_url}}\", target=\"_blank\">{{text.confirmations.link_text }}</a></p>\n\n<p>Once confirmed, you'll be able to log in to {{school.name}} with your new account.</p>\n\n<p>{{text.email_receipts.sign_off }}<br>\n{{school.name}}</p>\n",
"default_contents": "<!--\nEmail template: confirmation_instructions\nDescription: This email is sent when giving confirmation instructions.\n -->\n\n <!-- Auto-generated JSON-ld compliant JSON for showing action buttons in emails -->\n<script type=\"application/ld+json\">{{ goto_action_json }}</script>\n\n<!-- Content -->\n<div class=\"header-title\">\n <h1>Welcome, {{ user.name }}!</h1>\n <p>{{ added_message }}</p>\n</div>\n\n<p>Please confirm your account by clicking the button below:</p>\n\n<p class=\"text-center\"><a class=\"confirmation-url btn-primary\" href=\"{{confirmation_url}}\", target=\"_blank\">{{text.confirmations.link_text }}</a></p>\n\n<p>Once confirmed, you'll be able to log in to {{school.name}} with your new account.</p>\n\n<p>{{text.email_receipts.sign_off }}<br>\n{{school.name}}</p>\n",
"is_published": false,
"partial": false
},
"student_mailer/email": {
"contents": "<!--\nEmail template: email\nDescription: This email is sent to a student when they are custom emailed directly from Emails -> Compose.\n -->\n\n<!-- Content -->\n{{ email_body }}\n",
"default_contents": "<!--\nEmail template: email\nDescription: This email is sent to a student when they are custom emailed directly from Emails -> Compose.\n -->\n\n<!-- Content -->\n{{ email_body }}\n",
"is_published": false,
"partial": false
},
"student_mailer/payment_requires_action_notification": {
"contents": "<!--\nEmail template: payment_requires_action_notification\nDescription: This email is sent to a student when a payment of theirs requires additional authentication due to SCA.\n -->\n\n<!-- Content -->\n<p>Hi {{to.name}},</p>\n\n<p>\nYour payment for <b><a href='{{sale.course.url}}'>{{sale.course.name}}</a></b> requires additional authentication. Please use the link below to complete your purchase.\n</p>\n\n<p class='text-center'><a href='{{sca_url}}' class='btn-primary'>Complete My Payment</a></p>\n\n<p>\n {{text.email_receipts.sign_off }}<br>\n {{ school.name }}\n</p>\n",
"default_contents": "<!--\nEmail template: payment_requires_action_notification\nDescription: This email is sent to a student when a payment of theirs requires additional authentication due to SCA.\n -->\n\n<!-- Content -->\n<p>Hi {{to.name}},</p>\n\n<p>\nYour payment for <b><a href='{{sale.course.url}}'>{{sale.course.name}}</a></b> requires additional authentication. Please use the link below to complete your purchase.\n</p>\n\n<p class='text-center'><a href='{{sca_url}}' class='btn-primary'>Complete My Payment</a></p>\n\n<p>\n {{text.email_receipts.sign_off }}<br>\n {{ school.name }}\n</p>\n",
"is_published": false,
"partial": false
},
"student_mailer/failed_payment_notification": {
"contents": "<!--\nEmail template: failed_payment_notification\nDescription: This email is sent to a student when a payment of theirs doesn't go through.\n -->\n\n<!-- Content -->\n<p>Hi {{to.name}},</p>\n\n<p>Your last payment for <b><a href='{{sale.course.url}}'>{{sale.course.name}}</a></b> was not successful. It's okay — you can update your payment information online, and we'll try again in a few days.</p>\n\n<p class='text-center'><a href='{{school.card_url}}' class='btn-primary'>Update payment information</a></p>\n\n<p>Feel free to get in touch with us if you have any questions!</p>\n\n<p>\n {{text.email_receipts.sign_off }}<br>\n {{ school.name }}\n</p>\n",
"default_contents": "<!--\nEmail template: failed_payment_notification\nDescription: This email is sent to a student when a payment of theirs doesn't go through.\n -->\n\n<!-- Content -->\n<p>Hi {{to.name}},</p>\n\n<p>Your last payment for <b><a href='{{sale.course.url}}'>{{sale.course.name}}</a></b> was not successful. It's okay — you can update your payment information online, and we'll try again in a few days.</p>\n\n<p class='text-center'><a href='{{school.card_url}}' class='btn-primary'>Update payment information</a></p>\n\n<p>Feel free to get in touch with us if you have any questions!</p>\n\n<p>\n {{text.email_receipts.sign_off }}<br>\n {{ school.name }}\n</p>\n",
"is_published": false,
"partial": false
},
"student_mailer/new_comment": {
"contents": "<!--\nEmail template: new_comment\nDescription: This email is sent to a user when a comment is posted to a discussion they are following.\n -->\n\n<!-- Email Title -->\n<div class=\"header-title\">\n <h1>New comment</h1>\n <p>A new comment has been posted to a discussion you are following at <a href=\"{{school.domain}}\">{{school.name}}</a>.</p>\n</div>\n\n<!-- Content -->\n<p class=\"text-center\"><a href=\"{{comment.permalink_url}}\" class=\"btn-primary\">View comment</a></p>\n\n<hr>\n\n<blockquote>\n {{ comment.body }}\n</blockquote>\n",
"default_contents": "<!--\nEmail template: new_comment\nDescription: This email is sent to a user when a comment is posted to a discussion they are following.\n -->\n\n<!-- Email Title -->\n<div class=\"header-title\">\n <h1>New comment</h1>\n <p>A new comment has been posted to a discussion you are following at <a href=\"{{school.domain}}\">{{school.name}}</a>.</p>\n</div>\n\n<!-- Content -->\n<p class=\"text-center\"><a href=\"{{comment.permalink_url}}\" class=\"btn-primary\">View comment</a></p>\n\n<hr>\n\n<blockquote>\n {{ comment.body }}\n</blockquote>\n",
"is_published": false,
"partial": false
},
"student_mailer/purchase_notification_with_tax_details": {
"contents": "{% include \"mailer_partials/purchase_notification_with_tax_details_editable\" %}\n",
"default_contents": "{% include \"mailer_partials/purchase_notification_with_tax_details_editable\" %}\n",
"is_published": false,
"partial": false
},
"student_mailer/custom_email": {
"contents": "<!--\nEmail template: email\nDescription: This email is sent to a student when they are emailed directly.\n -->\n\n<!-- Content -->\n{{ email_body }}\n",
"default_contents": "<!--\nEmail template: email\nDescription: This email is sent to a student when they are emailed directly.\n -->\n\n<!-- Content -->\n{{ email_body }}\n",
"is_published": false,
"partial": false
},
"student_mailer/transaction_notification": {
"contents": "{% include \"mailer_partials/purchase_notification_with_tax_details_editable\" %}\n",
"default_contents": "{% include \"mailer_partials/purchase_notification_with_tax_details_editable\" %}\n",
"is_published": false,
"partial": false
},
"student_mailer/reset_quiz_notification": {
"contents": "<!--\nEmail template: reset_quiz_notification\nDescription: This email is sent to a student when a quiz has been reset. It provides a link to the quiz in question.\n -->\n\n<!-- Content -->\n<p>Hi {{ to.name }},</p>\n\n<p>Your quiz score in <strong>{{ lecture.name }}</strong> has been reset. If you wish to retake the quiz, you can do so below.</p>\n\n<p class='text-center'><a href='{{ lecture.full_url }}' class='btn-primary'>Retake quiz</a></p>\n\n<p>Feel free to get in touch with us if you have any questions!</p>\n\n<p>\n {{ text.email_receipts.sign_off }}<br>\n {{ school.name }}\n</p>\n",
"default_contents": "<!--\nEmail template: reset_quiz_notification\nDescription: This email is sent to a student when a quiz has been reset. It provides a link to the quiz in question.\n -->\n\n<!-- Content -->\n<p>Hi {{ to.name }},</p>\n\n<p>Your quiz score in <strong>{{ lecture.name }}</strong> has been reset. If you wish to retake the quiz, you can do so below.</p>\n\n<p class='text-center'><a href='{{ lecture.full_url }}' class='btn-primary'>Retake quiz</a></p>\n\n<p>Feel free to get in touch with us if you have any questions!</p>\n\n<p>\n {{ text.email_receipts.sign_off }}<br>\n {{ school.name }}\n</p>\n",
"is_published": false,
"partial": false
},
"student_mailer/purchase_notification": {
"contents": "<!--\nEmail template: student/purchase_notification\nDescription: This email is sent to a student when they enroll in a course.\n -->\n\n<!-- Email Title -->\n<div class=\"header-title\">\n <h1>{{text.email_receipts.thank_you_for_enrolling_in }} {{sale.course.name }}</h1>\n</div>\n\n<!-- Content -->\n<p class=\"text-center\"><a href=\"{{sale.course.url }}\" class=\"btn-primary\">Access course</a></p>\n\n<p class=\"text-center\">{{text.email_receipts.this_course_can_be_accessed_at }}<br><a href=\"{{school.url}}\">{{school.url}}</a></p>\n\n<br><hr><br>\n\n{% unless sale.free? or sale.payment_method == 'external' %}\n<h1 class=\"price-jumbo\">{{ sale.receipt_formatted_charge }}</h1>\n\n<p class=\"text-center\">{{text.email_receipts.purchase_questions }} <a href=\"{{ @contact_url }}\">Contact {{ school.name }}</a></p>\n\n<table class=\"data-table\" cellpadding=\"0\" cellspacing=\"0\">\n <tr>\n <td width=\"50%\">{{text.email_receipts.receipt_number}}</td>\n <td class=\"text-right\">{{sale.id}} </td>\n </tr>\n <tr>\n <td width=\"50%\">{{text.email_receipts.product_id}}</td>\n <td class=\"text-right\">{{product.id}}</td>\n </tr>\n <tr>\n <td width=\"50%\">{{text.email_receipts.course_name}}</td>\n <td class=\"text-right\">{{sale.course.name}}</td>\n </tr>\n <tr>\n <td width=\"50%\">{{text.email_receipts.purchase_date}}</td>\n <td class=\"text-right\">{{sale.purchase_date}} {{text.email_receipts.utc}}</td>\n </tr>\n <tr>\n <td width=\"50%\">{{text.email_receipts.purchaser}}</td>\n <td class=\"text-right\">{% if to.has_name? %}{{to.name}}<br>{% endif %}<a href=\"mailto:{{to.email}}\">{{to.email}}</a> </td>\n </tr>\n {% if sale.vat_tax_id %}\n <tr>\n <td width=\"50%\">{{text.email_receipts.purchaser_vat_id}}</td>\n <td class=\"text-right\">{{ sale.vat_tax_id }}</td>\n </tr>\n {% endif %}\n <tr>\n <td width=\"50%\">{{ text.email_receipts.vendor }}</td>\n <td class=\"text-right\">{{ school.name }}<br><a href=\"{{school.url}}\">{{school.url}}</a> </td>\n </tr>\n {% if sale.vendor_vat_id %}\n <tr>\n <td width=\"50%\">{{ text.email_receipts.vendor_vat_id }}</td>\n <td class=\"text-right\">{{ sale.vendor_vat_id }}</td>\n </tr>\n {% endif %}\n <tr>\n <td width=\"50%\">{{text.email_receipts.list_price}}</td>\n <td class=\"text-right\">{{sale.receipt_list_price}}</td>\n </tr>\n {% if sale.discounted? %}\n <tr>\n <td width=\"50%\">{{text.email_receipts.discount }} ({{sale.coupon_code}})</td>\n <td class=\"text-right\">{{sale.receipt_discount_amount }}</td>\n </tr>\n {% endif %}\n {% if sale.taxed? %}\n <tr>\n <td width=\"50%\">{{ text.email_receipts.tax }}</td>\n <td class=\"text-right\">{{ sale.receipt_tax_amount }}</td>\n </tr>\n {% endif %}\n <tr class=\"total\">\n <td width=\"50%\">{{text.email_receipts.total }}</td>\n <td class=\"text-right\">{{ sale.receipt_formatted_charge }}</td>\n </tr>\n</table>\n{% endunless %}\n\n<!-- Auto-generated JSON-ld compliant JSON for showing action buttons in emails -->\n<script type=\"application/ld+json\">{{ goto_action_json }}</script>\n",
"default_contents": "<!--\nEmail template: student/purchase_notification\nDescription: This email is sent to a student when they enroll in a course.\n -->\n\n<!-- Email Title -->\n<div class=\"header-title\">\n <h1>{{text.email_receipts.thank_you_for_enrolling_in }} {{sale.course.name }}</h1>\n</div>\n\n<!-- Content -->\n<p class=\"text-center\"><a href=\"{{sale.course.url }}\" class=\"btn-primary\">Access course</a></p>\n\n<p class=\"text-center\">{{text.email_receipts.this_course_can_be_accessed_at }}<br><a href=\"{{school.url}}\">{{school.url}}</a></p>\n\n<br><hr><br>\n\n{% unless sale.free? or sale.payment_method == 'external' %}\n<h1 class=\"price-jumbo\">{{ sale.receipt_formatted_charge }}</h1>\n\n<p class=\"text-center\">{{text.email_receipts.purchase_questions }} <a href=\"{{ @contact_url }}\">Contact {{ school.name }}</a></p>\n\n<table class=\"data-table\" cellpadding=\"0\" cellspacing=\"0\">\n <tr>\n <td width=\"50%\">{{text.email_receipts.receipt_number}}</td>\n <td class=\"text-right\">{{sale.id}} </td>\n </tr>\n <tr>\n <td width=\"50%\">{{text.email_receipts.product_id}}</td>\n <td class=\"text-right\">{{product.id}}</td>\n </tr>\n <tr>\n <td width=\"50%\">{{text.email_receipts.course_name}}</td>\n <td class=\"text-right\">{{sale.course.name}}</td>\n </tr>\n <tr>\n <td width=\"50%\">{{text.email_receipts.purchase_date}}</td>\n <td class=\"text-right\">{{sale.purchase_date}} {{text.email_receipts.utc}}</td>\n </tr>\n <tr>\n <td width=\"50%\">{{text.email_receipts.purchaser}}</td>\n <td class=\"text-right\">{% if to.has_name? %}{{to.name}}<br>{% endif %}<a href=\"mailto:{{to.email}}\">{{to.email}}</a> </td>\n </tr>\n {% if sale.vat_tax_id %}\n <tr>\n <td width=\"50%\">{{text.email_receipts.purchaser_vat_id}}</td>\n <td class=\"text-right\">{{ sale.vat_tax_id }}</td>\n </tr>\n {% endif %}\n <tr>\n <td width=\"50%\">{{ text.email_receipts.vendor }}</td>\n <td class=\"text-right\">{{ school.name }}<br><a href=\"{{school.url}}\">{{school.url}}</a> </td>\n </tr>\n {% if sale.vendor_vat_id %}\n <tr>\n <td width=\"50%\">{{ text.email_receipts.vendor_vat_id }}</td>\n <td class=\"text-right\">{{ sale.vendor_vat_id }}</td>\n </tr>\n {% endif %}\n <tr>\n <td width=\"50%\">{{text.email_receipts.list_price}}</td>\n <td class=\"text-right\">{{sale.receipt_list_price}}</td>\n </tr>\n {% if sale.discounted? %}\n <tr>\n <td width=\"50%\">{{text.email_receipts.discount }} ({{sale.coupon_code}})</td>\n <td class=\"text-right\">{{sale.receipt_discount_amount }}</td>\n </tr>\n {% endif %}\n {% if sale.taxed? %}\n <tr>\n <td width=\"50%\">{{ text.email_receipts.tax }}</td>\n <td class=\"text-right\">{{ sale.receipt_tax_amount }}</td>\n </tr>\n {% endif %}\n <tr class=\"total\">\n <td width=\"50%\">{{text.email_receipts.total }}</td>\n <td class=\"text-right\">{{ sale.receipt_formatted_charge }}</td>\n </tr>\n</table>\n{% endunless %}\n\n<!-- Auto-generated JSON-ld compliant JSON for showing action buttons in emails -->\n<script type=\"application/ld+json\">{{ goto_action_json }}</script>\n",
"is_published": false,
"partial": false
},
"student_mailer/issued_certificate_notification": {
"contents": "<!--\nEmail template: student/certificate_issued_notification\nDescription: This email is sent to a student when they are issued a certificate for completing a course.\n -->\n\n<!-- Email Title -->\n<div class=\"header-title\">\n <h1>You have been issued a certificate!</h1>\n</div>\n\n<!-- Content -->\n<p class=\"text-center\">\n <p>{{school.name}} has issued a certificate to you for completing {{ course.name }}.</p>\n <p><a href=\"{{course.url}}/certificate\">View your certificate.</a></p>\n</p>\n\n",
"default_contents": "<!--\nEmail template: student/certificate_issued_notification\nDescription: This email is sent to a student when they are issued a certificate for completing a course.\n -->\n\n<!-- Email Title -->\n<div class=\"header-title\">\n <h1>You have been issued a certificate!</h1>\n</div>\n\n<!-- Content -->\n<p class=\"text-center\">\n <p>{{school.name}} has issued a certificate to you for completing {{ course.name }}.</p>\n <p><a href=\"{{course.url}}/certificate\">View your certificate.</a></p>\n</p>\n\n",
"is_published": false,
"partial": false
},
"student_mailer/drip_content_notification": {
"contents": "<!--\nEmail template: drip_content_notification\nDescription: This email is sent to a student when they receive drip content notifications.\n -->\n\n<!-- Content -->\n{{ body }}\n",
"default_contents": "<!--\nEmail template: drip_content_notification\nDescription: This email is sent to a student when they receive drip content notifications.\n -->\n\n<!-- Content -->\n{{ body }}\n",
"is_published": false,
"partial": false
},
"student_mailer/subscription_canceled_nonpayment": {
"contents": "<!--\nEmail template: subscription_canceled_nonpayment\nDescription: This email is sent to a student when their subscription ends due to nonpayment.\n -->\n\n<!-- Content -->\n<p>Hi {{to.name}},</p>\n\n<p>We were unable to process your last payment for {{sale.course.name}} at <a href=\"{{school.url}}\">{{school.name}}</a>.</p>\n\n<p>After trying several times, we’re sorry to say we have to end your course access at this time. However, rest assured that you can re-purchase the course at any time and pick up right where you left off. If you were on a payment plan, you may want to contact the instructor to ask for a prorated price.</p>\n\n<p class=\"text-center\"><a href='{{sale.course.url}}' class=\"btn-primary\">Sign up for the course again</a></b></p>\n\n<p>Feel free to get in touch with us if you have any questions!</p>\n\n<p>\n {{text.email_receipts.sign_off }}<br>\n {{ school.name }}\n</p>\n",
"default_contents": "<!--\nEmail template: subscription_canceled_nonpayment\nDescription: This email is sent to a student when their subscription ends due to nonpayment.\n -->\n\n<!-- Content -->\n<p>Hi {{to.name}},</p>\n\n<p>We were unable to process your last payment for {{sale.course.name}} at <a href=\"{{school.url}}\">{{school.name}}</a>.</p>\n\n<p>After trying several times, we’re sorry to say we have to end your course access at this time. However, rest assured that you can re-purchase the course at any time and pick up right where you left off. If you were on a payment plan, you may want to contact the instructor to ask for a prorated price.</p>\n\n<p class=\"text-center\"><a href='{{sale.course.url}}' class=\"btn-primary\">Sign up for the course again</a></b></p>\n\n<p>Feel free to get in touch with us if you have any questions!</p>\n\n<p>\n {{text.email_receipts.sign_off }}<br>\n {{ school.name }}\n</p>\n",
"is_published": false,
"partial": false
},
"layouts/teachable_mailer_layout": {
"contents": "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n <head>\n <meta name=\"viewport\" content=\"width=device-width\">\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">\n <meta charset=\"UTF-8\">\n <title></title>\n <style type=\"text/css\">\n /* -------------------------------------\n GLOBAL\n ------------------------------------- */\n img {\n max-width: 100%;\n }\n body {\n -webkit-font-smoothing: antialiased;\n -webkit-text-size-adjust: none;\n margin: 0;\n padding: 0;\n font-family: \"Helvetica Neue\", \"Helvetica\", Helvetica, Arial, sans-serif;\n font-size: 100%;\n line-height: 1.6;\n }\n\n .table-wrapper {\n max-width: 700px !important;\n margin: auto;\n margin-top: 50px;\n box-shadow: 0 8px 20px #e3e7ea !important;\n -webkit-box-shadow: 0 8px 20px #e3e7ea !important;\n -moz-box-shadow: 0 8px 20px #e3e7ea !important;\n border-radius: 7px;\n -webkit-border-radius: 7px;\n -moz-border-radius: 7px;\n }\n\n /* -------------------------------------\n ELEMENTS\n ------------------------------------- */\n p a {\n font-family: \"Helvetica Neue\", \"Helvetica\", Helvetica, Arial, sans-serif;\n color: #049075 !important;\n font-weight: 800;\n }\n\n .btn-primary {\n font-family: \"Helvetica Neue\", \"Helvetica\", Helvetica, Arial, sans-serif;\n text-decoration: none;\n color: #FFF !important;\n background-color: #FF7F45;\n border: solid #FF7F45;\n line-height: 2;\n max-width: 100%;\n font-size: 14px;\n padding: 8px 40px 8px 40px;\n margin-top: 30px;\n margin-bottom: 30px;\n font-weight: bold;\n text-align: center;\n cursor: pointer;\n display: inline-block;\n border-radius: 30px;\n margin-left: auto;\n margin-right: auto;\n text-align: center;\n }\n\n /* -------------------------------------\n BODY\n ------------------------------------- */\n table.body-wrap {\n width: 100%;\n padding: 30px 55px;\n background: #f6f6f6;\n margin: 0;\n font-size: 100%;\n line-height: 1.8;\n font-size: 15px;\n }\n\n .container {\n display: block !important;\n margin: 0 auto !important; /* makes it centered */\n clear: both !important;\n }\n\n /* -------------------------------------\n HEADER\n ------------------------------------- */\n .header {\n background: url(\"https://assets.teachablecdn.com/bg/background-email-header.jpg\");\n height: 153px;\n background-repeat: no-repeat;\n text-align: center;\n background-size: 100%;\n line-height: 55px;\n padding: 23px;\n }\n .header img {\n max-height: 30px;\n display: inline-block;\n padding-top: 10px;\n }\n\n /* -------------------------------------\n CONTENT\n ------------------------------------- */\n\n .content {\n padding: 35px 40px;\n border-bottom-left-radius: 6px;\n border-bottom-right-radius: 6px;\n }\n\n .content-box {\n max-width: 600px;\n margin: 0 auto;\n display: block;\n }\n .content-box table {\n width: 100%;\n }\n\n\n /* -------------------------------------\n FOOTER\n ------------------------------------- */\n .footer {\n padding-top: 30px;\n padding-bottom: 55px;\n width: 100%;\n clear: both !important;\n text-align: center;\n }\n\n .footer p {\n font-size: 12px;\n color: #666;\n }\n\n .footer a {\n color: #999;\n }\n\n .footer .social-icons {\n padding-top: 5px;\n }\n\n /* -------------------------------------\n TYPOGRAPHY\n ------------------------------------- */\n a {\n color: #1EA69A;\n word-wrap: break-word;\n }\n\n .a-links {\n color: #1EA69A !important;\n font-weight: normal !important;\n }\n\n h1, h2, h3 {\n font-family: \"Helvetica Neue\", Helvetica, Arial, \"Lucida Grande\", sans-serif;\n line-height: 1.1;\n margin-bottom: 15px;\n color: #47505E;\n margin: 0px 0 10px;\n line-height: 1.2;\n font-weight: 200;\n }\n .bold {\n font-weight: bold;\n }\n .text-center {\n text-align: center;\n }\n .left {\n float: left;\n }\n .right {\n float: right;\n }\n .small {\n font-size: 80%;\n line-height: 250%;\n vertical-align: middle;\n }\n .margin-none {\n margin: 0 !important;\n }\n .padding-none {\n padding: 0 !important;\n }\n .headline {\n margin-top: 10px;\n }\n .subline {\n margin-top: 30px;\n }\n h1 {\n font-size: 28px;\n font-weight: bold;\n margin-bottom: 30px;\n }\n h2 {\n font-size: 24px;\n font-weight: bold;\n margin-bottom: 20px;\n }\n h3 {\n font-size: 22px;\n font-weight: bold;\n margin-bottom: 20px;\n }\n p, ul, ol {\n font-weight: normal;\n padding: 0;\n font-family: \"Helvetica Neue\", \"Helvetica\", Helvetica, Arial, sans-serif;\n line-height: 1.7;\n margin-bottom: 1.3em;\n font-size: 15px;\n color: #47505E;\n }\n p:first-child {\n margin-top: 0px;\n }\n ul li, ol li {\n margin-left: 5px;\n list-style-position: inside;\n }\n hr {\n border-top: 1px solid #ccc;\n }\n\n /* Unsubscribe Link */\n a.unsubscribe-link {\n margin: 0;\n padding: 0;\n font-size: 12px;\n }\n </style>\n <style data-roadie-ignore>\n /* -------------------------------------\n RESPONSIVENESS\n !importants in here are necessary :/\n ------------------------------------- */\n @media only screen and (max-device-width: 700px) {\n .table-wrapper {\n margin-top: 0px !important;\n border-radius: 0px !important;\n }\n\n .header {\n border-radius: 0px !important;\n }\n }\n </style>\n\n </head>\n <body>\n <table style=\"background: #F5F6F7;\" width=\"100%\" cellpadding=\"0\" cellspacing=\"0\">\n <tr>\n <td>\n <!-- body -->\n <table cellpadding=\"0\" cellspacing=\"0\" class=\"table-wrapper\" style=\"box-shadow: 0 8px 20px #e3e7ea !important; -webkit-box-shadow: 0 8px 20px #e3e7ea !important; -moz-box-shadow: 0 8px 20px #e3e7ea !important;\">\n <tr>\n <!-- Brand Header -->\n <td class=\"container\" bgcolor=\"#FFFFFF\">\n <img src=\"https://assets.teachablecdn.com/bg/background-email-header.jpg\">\n </td>\n </tr>\n\n <tr>\n <td class=\"container content\" bgcolor=\"#FFFFFF\">\n <!-- content -->\n <div class=\"content-box\">\n {{ content_for_layout }}\n </div>\n <!-- /content -->\n </td>\n <td>\n\n </td>\n </tr>\n </table>\n <!-- /body -->\n <div class=\"footer\">\n <p>© {{ \"now\" | date: \"%Y\" }} Teachable™, P.O. Box 324, New York, NY 10159</p>\n <p class=\"social-icons\">\n <a href=\"http://facebook.com/teachablehq\"><img width=\"25\" src=\"http://cdn2.hubspot.net/hubfs/677576/email-fb.png\"></a>\n <a href=\"http://twitter.com/teachable\"><img width=\"25\" src=\"http://cdn2.hubspot.net/hubfs/677576/email-twitter.png\"></a>\n <a href=\"https://www.instagram.com/teachablehq/\"><img width=\"25\" src=\"http://cdn2.hubspot.net/hubfs/677576/email-insta.png\"></a>\n <a href=\"https://pinterest.com/teachablehq/\"><img width=\"25\" src=\"http://cdn2.hubspot.net/hubfs/677576/email-pinterest.png\"></a>\n </p>\n </div>\n </td>\n </tr>\n </table>\n\n </body>\n</html>\n",
"default_contents": "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n <head>\n <meta name=\"viewport\" content=\"width=device-width\">\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">\n <meta charset=\"UTF-8\">\n <title></title>\n <style type=\"text/css\">\n /* -------------------------------------\n GLOBAL\n ------------------------------------- */\n img {\n max-width: 100%;\n }\n body {\n -webkit-font-smoothing: antialiased;\n -webkit-text-size-adjust: none;\n margin: 0;\n padding: 0;\n font-family: \"Helvetica Neue\", \"Helvetica\", Helvetica, Arial, sans-serif;\n font-size: 100%;\n line-height: 1.6;\n }\n\n .table-wrapper {\n max-width: 700px !important;\n margin: auto;\n margin-top: 50px;\n box-shadow: 0 8px 20px #e3e7ea !important;\n -webkit-box-shadow: 0 8px 20px #e3e7ea !important;\n -moz-box-shadow: 0 8px 20px #e3e7ea !important;\n border-radius: 7px;\n -webkit-border-radius: 7px;\n -moz-border-radius: 7px;\n }\n\n /* -------------------------------------\n ELEMENTS\n ------------------------------------- */\n p a {\n font-family: \"Helvetica Neue\", \"Helvetica\", Helvetica, Arial, sans-serif;\n color: #049075 !important;\n font-weight: 800;\n }\n\n .btn-primary {\n font-family: \"Helvetica Neue\", \"Helvetica\", Helvetica, Arial, sans-serif;\n text-decoration: none;\n color: #FFF !important;\n background-color: #FF7F45;\n border: solid #FF7F45;\n line-height: 2;\n max-width: 100%;\n font-size: 14px;\n padding: 8px 40px 8px 40px;\n margin-top: 30px;\n margin-bottom: 30px;\n font-weight: bold;\n text-align: center;\n cursor: pointer;\n display: inline-block;\n border-radius: 30px;\n margin-left: auto;\n margin-right: auto;\n text-align: center;\n }\n\n /* -------------------------------------\n BODY\n ------------------------------------- */\n table.body-wrap {\n width: 100%;\n padding: 30px 55px;\n background: #f6f6f6;\n margin: 0;\n font-size: 100%;\n line-height: 1.8;\n font-size: 15px;\n }\n\n .container {\n display: block !important;\n margin: 0 auto !important; /* makes it centered */\n clear: both !important;\n }\n\n /* -------------------------------------\n HEADER\n ------------------------------------- */\n .header {\n background: url(\"https://assets.teachablecdn.com/bg/background-email-header.jpg\");\n height: 153px;\n background-repeat: no-repeat;\n text-align: center;\n background-size: 100%;\n line-height: 55px;\n padding: 23px;\n }\n .header img {\n max-height: 30px;\n display: inline-block;\n padding-top: 10px;\n }\n\n /* -------------------------------------\n CONTENT\n ------------------------------------- */\n\n .content {\n padding: 35px 40px;\n border-bottom-left-radius: 6px;\n border-bottom-right-radius: 6px;\n }\n\n .content-box {\n max-width: 600px;\n margin: 0 auto;\n display: block;\n }\n .content-box table {\n width: 100%;\n }\n\n\n /* -------------------------------------\n FOOTER\n ------------------------------------- */\n .footer {\n padding-top: 30px;\n padding-bottom: 55px;\n width: 100%;\n clear: both !important;\n text-align: center;\n }\n\n .footer p {\n font-size: 12px;\n color: #666;\n }\n\n .footer a {\n color: #999;\n }\n\n .footer .social-icons {\n padding-top: 5px;\n }\n\n /* -------------------------------------\n TYPOGRAPHY\n ------------------------------------- */\n a {\n color: #1EA69A;\n word-wrap: break-word;\n }\n\n .a-links {\n color: #1EA69A !important;\n font-weight: normal !important;\n }\n\n h1, h2, h3 {\n font-family: \"Helvetica Neue\", Helvetica, Arial, \"Lucida Grande\", sans-serif;\n line-height: 1.1;\n margin-bottom: 15px;\n color: #47505E;\n margin: 0px 0 10px;\n line-height: 1.2;\n font-weight: 200;\n }\n .bold {\n font-weight: bold;\n }\n .text-center {\n text-align: center;\n }\n .left {\n float: left;\n }\n .right {\n float: right;\n }\n .small {\n font-size: 80%;\n line-height: 250%;\n vertical-align: middle;\n }\n .margin-none {\n margin: 0 !important;\n }\n .padding-none {\n padding: 0 !important;\n }\n .headline {\n margin-top: 10px;\n }\n .subline {\n margin-top: 30px;\n }\n h1 {\n font-size: 28px;\n font-weight: bold;\n margin-bottom: 30px;\n }\n h2 {\n font-size: 24px;\n font-weight: bold;\n margin-bottom: 20px;\n }\n h3 {\n font-size: 22px;\n font-weight: bold;\n margin-bottom: 20px;\n }\n p, ul, ol {\n font-weight: normal;\n padding: 0;\n font-family: \"Helvetica Neue\", \"Helvetica\", Helvetica, Arial, sans-serif;\n line-height: 1.7;\n margin-bottom: 1.3em;\n font-size: 15px;\n color: #47505E;\n }\n p:first-child {\n margin-top: 0px;\n }\n ul li, ol li {\n margin-left: 5px;\n list-style-position: inside;\n }\n hr {\n border-top: 1px solid #ccc;\n }\n\n /* Unsubscribe Link */\n a.unsubscribe-link {\n margin: 0;\n padding: 0;\n font-size: 12px;\n }\n </style>\n <style data-roadie-ignore>\n /* -------------------------------------\n RESPONSIVENESS\n !importants in here are necessary :/\n ------------------------------------- */\n @media only screen and (max-device-width: 700px) {\n .table-wrapper {\n margin-top: 0px !important;\n border-radius: 0px !important;\n }\n\n .header {\n border-radius: 0px !important;\n }\n }\n </style>\n\n </head>\n <body>\n <table style=\"background: #F5F6F7;\" width=\"100%\" cellpadding=\"0\" cellspacing=\"0\">\n <tr>\n <td>\n <!-- body -->\n <table cellpadding=\"0\" cellspacing=\"0\" class=\"table-wrapper\" style=\"box-shadow: 0 8px 20px #e3e7ea !important; -webkit-box-shadow: 0 8px 20px #e3e7ea !important; -moz-box-shadow: 0 8px 20px #e3e7ea !important;\">\n <tr>\n <!-- Brand Header -->\n <td class=\"container\" bgcolor=\"#FFFFFF\">\n <img src=\"https://assets.teachablecdn.com/bg/background-email-header.jpg\">\n </td>\n </tr>\n\n <tr>\n <td class=\"container content\" bgcolor=\"#FFFFFF\">\n <!-- content -->\n <div class=\"content-box\">\n {{ content_for_layout }}\n </div>\n <!-- /content -->\n </td>\n <td>\n\n </td>\n </tr>\n </table>\n <!-- /body -->\n <div class=\"footer\">\n <p>© {{ \"now\" | date: \"%Y\" }} Teachable™, P.O. Box 324, New York, NY 10159</p>\n <p class=\"social-icons\">\n <a href=\"http://facebook.com/teachablehq\"><img width=\"25\" src=\"http://cdn2.hubspot.net/hubfs/677576/email-fb.png\"></a>\n <a href=\"http://twitter.com/teachable\"><img width=\"25\" src=\"http://cdn2.hubspot.net/hubfs/677576/email-twitter.png\"></a>\n <a href=\"https://www.instagram.com/teachablehq/\"><img width=\"25\" src=\"http://cdn2.hubspot.net/hubfs/677576/email-insta.png\"></a>\n <a href=\"https://pinterest.com/teachablehq/\"><img width=\"25\" src=\"http://cdn2.hubspot.net/hubfs/677576/email-pinterest.png\"></a>\n </p>\n </div>\n </td>\n </tr>\n </table>\n\n </body>\n</html>\n",
"is_published": false,
"partial": false
},
"layouts/instructor_mailer_layout": {
"contents": "{% include \"mailer_partials/email_header\" %}\n<tr>\n <td class=\"content\">\n {{ content_for_layout }}\n </td>\n</tr>\n{% include \"mailer_partials/student_email_footer\" %}\n",
"default_contents": "{% include \"mailer_partials/email_header\" %}\n<tr>\n <td class=\"content\">\n {{ content_for_layout }}\n </td>\n</tr>\n{% include \"mailer_partials/student_email_footer\" %}\n",
"is_published": false,
"partial": false
},
"layouts/student_mailer_layout": {
"contents": "{% include \"mailer_partials/email_header\" %}\n <tr>\n <td class=\"content\">\n {{ content_for_layout }}\n </td>\n </tr>\n</table>\n<table width=\"100%\">\n <tr>\n <td>\n <center>\n {% include \"mailer_partials/student_unsubscribe_link\" %}\n </center>\n </td>\n </tr>\n {% include \"mailer_partials/student_email_footer\" %}\n<!-- the </table> close is student_email_footer -->\n",
"default_contents": "{% include \"mailer_partials/email_header\" %}\n <tr>\n <td class=\"content\">\n {{ content_for_layout }}\n </td>\n </tr>\n</table>\n<table width=\"100%\">\n <tr>\n <td>\n <center>\n {% include \"mailer_partials/student_unsubscribe_link\" %}\n </center>\n </td>\n </tr>\n {% include \"mailer_partials/student_email_footer\" %}\n<!-- the </table> close is student_email_footer -->\n",
"is_published": false,
"partial": false
},
"mailer_partials/student_unsubscribe_link": {
"contents": "<a data-skip-utm-params=\"true\" data-skip-click=\"true\" href=\"{{unsubscribe_url}}\" class=\"unsubscribe-link\">{{ text.emails.unsubscribe_link_text }}</a>\n",
"default_contents": "<a data-skip-utm-params=\"true\" data-skip-click=\"true\" href=\"{{unsubscribe_url}}\" class=\"unsubscribe-link\">{{ text.emails.unsubscribe_link_text }}</a>\n",
"is_published": false,
"partial": true
},
"mailer_partials/purchase_notification_with_tax_details_content": {
"contents": "<!-- Content -->\n{% unless sale.free? or sale.payment_method == 'external' %}\n<table class=\"data-table bordered\" width=\"100%\" cellpadding=\"0\" cellspacing=\"0\">\n <tr>\n <td class=\"data-table-title\">{{ text.email_receipts.order_summary }}</td>\n </tr>\n <tr>\n <td class=\"receipt-number-padding\">Order ID: {{ sale.receipt_id }}</td>\n <td class=\"text-right receipt-number-padding\">{{ sale.purchase_date | date: \"%d %b %Y\" }}</td>\n </tr>\n <tr>\n <td>{{ sale.course.name }} (ID: {{ sale.course.id }})</td>\n <td class=\"text-right\">{{ sale.list_price }} </td>\n </tr>\n\n {% if sale.discounted? %}\n <tr>\n <td class=\"bordered-padding-bottom\">Discount ({{ sale.coupon_code }})</td>\n <td class=\"text-right\">-{{ sale.receipt_discount_amount }}</td>\n </tr>\n\n <tr class=\"bordered\">\n <td class=\"bordered-padding-top\">Subtotal</td>\n <td class=\"text-right\">{{ sale.discounted_amount }}</td>\n </tr>\n {% endif %}\n\n {% if sale.tax_applicable? %}\n <tr>\n <td class=\"bordered-padding-bottom\">Tax ({{ sale.tax_rate }})</td>\n <td class=\"text-right\">{{ sale.tax_amount }}</td>\n </tr>\n {% endif %}\n\n <tr class=\"total bordered\">\n <td class=\"bordered-padding-top\">Total ({{ sale.receipt_currency }})</td>\n <td class=\"text-right\">{{ sale.receipt_formatted_charge_no_currency }}</td>\n </tr>\n</table>\n\n<table class=\"data-table\" width=\"100%\" cellpadding=\"0\" cellspacing=\"0\">\n <tr>\n <td style=\"vertical-align: top;\">\n <p style=\"margin-top: 0px;\">\n <span class=\"bold\">{{ text.email_receipts.purchaser }}</span><br>\n {{ sale.student_name }}<br>\n <a href=\"mailto:{{ sale.student_email }}\">{{ sale.student_email }}</a><br>\n {{ sale.student_country }}, {{ sale.student_postal_code }}<br>\n {% if sale.student_vat_id %}\n {{ sale.student_vat_id }}\n {% endif %}\n </p>\n <p>\n <span class=\"bold\">{{ text.email_receipts.payment_method }}</span><br>\n {% if sale.payment_method == \"stripe\" %}\n {{ sale.card_brand }} - *{{ sale.card_last_four }}\n {% else %}\n PayPal<br>\n {{ sale.student_paypal_email }}\n {% endif %}\n </p>\n <!-- Data duplicated to handle stacking for mobile views -->\n <table>\n <tr>\n <td class=\"show-for-mobile\">\n <p style=\"margin-top: 0px;\">\n <span class=\"bold\">{{ text.email_receipts.vendor }}</span><br>\n <a href=\"mailto:{{ school.email }}\">{{ school.name }}</a><br>\n {% if school.back_office_enabled? == false or sale.custom_gateway? %}\n {{ school.formatted_address }}\n {% if school.vat_id and school.vat_id != blank %}\n {{ school.vat_id }}\n {% endif %}\n {% endif %}\n {% if school.back_office_enabled? and sale.custom_gateway? == false %}\n <p><span class=\"bold\">{{ text.email_receipts.provided_by }}</span><br>\n {{ sale.teachable_vat_address }}\n {{ sale.teachable_vat_id }}\n </p>\n {% endif %}\n </td>\n </tr>\n </table>\n </td>\n <td width=\"20%\"></td>\n <td class=\"hide-for-mobile\" style=\"vertical-align: top;\">\n <p style=\"margin-top: 0px;\">\n <span class=\"bold\">{{ text.email_receipts.vendor }}</span><br>\n <a href=\"mailto:{{ school.email }}\">{{ school.name }}</a><br>\n {% if school.back_office_enabled? == false or sale.custom_gateway? %}\n {{ school.formatted_address }}\n {% if school.vat_id and school.vat_id != blank %}\n {{ school.vat_id }}\n {% endif %}\n {% endif %}\n {% if school.back_office_enabled? and sale.custom_gateway? == false %}\n <p><span class=\"bold\">{{ text.email_receipts.provided_by }}</span><br>\n {{ sale.teachable_vat_address }}\n {{ sale.teachable_vat_id }}\n </p>\n {% endif %}\n </td>\n </tr>\n</table>\n{% endunless %}\n",
"default_contents": "<!-- Content -->\n{% unless sale.free? or sale.payment_method == 'external' %}\n<table class=\"data-table bordered\" width=\"100%\" cellpadding=\"0\" cellspacing=\"0\">\n <tr>\n <td class=\"data-table-title\">{{ text.email_receipts.order_summary }}</td>\n </tr>\n <tr>\n <td class=\"receipt-number-padding\">Order ID: {{ sale.receipt_id }}</td>\n <td class=\"text-right receipt-number-padding\">{{ sale.purchase_date | date: \"%d %b %Y\" }}</td>\n </tr>\n <tr>\n <td>{{ sale.course.name }} (ID: {{ sale.course.id }})</td>\n <td class=\"text-right\">{{ sale.list_price }} </td>\n </tr>\n\n {% if sale.discounted? %}\n <tr>\n <td class=\"bordered-padding-bottom\">Discount ({{ sale.coupon_code }})</td>\n <td class=\"text-right\">-{{ sale.receipt_discount_amount }}</td>\n </tr>\n\n <tr class=\"bordered\">\n <td class=\"bordered-padding-top\">Subtotal</td>\n <td class=\"text-right\">{{ sale.discounted_amount }}</td>\n </tr>\n {% endif %}\n\n {% if sale.tax_applicable? %}\n <tr>\n <td class=\"bordered-padding-bottom\">Tax ({{ sale.tax_rate }})</td>\n <td class=\"text-right\">{{ sale.tax_amount }}</td>\n </tr>\n {% endif %}\n\n <tr class=\"total bordered\">\n <td class=\"bordered-padding-top\">Total ({{ sale.receipt_currency }})</td>\n <td class=\"text-right\">{{ sale.receipt_formatted_charge_no_currency }}</td>\n </tr>\n</table>\n\n<table class=\"data-table\" width=\"100%\" cellpadding=\"0\" cellspacing=\"0\">\n <tr>\n <td style=\"vertical-align: top;\">\n <p style=\"margin-top: 0px;\">\n <span class=\"bold\">{{ text.email_receipts.purchaser }}</span><br>\n {{ sale.student_name }}<br>\n <a href=\"mailto:{{ sale.student_email }}\">{{ sale.student_email }}</a><br>\n {{ sale.student_country }}, {{ sale.student_postal_code }}<br>\n {% if sale.student_vat_id %}\n {{ sale.student_vat_id }}\n {% endif %}\n </p>\n <p>\n <span class=\"bold\">{{ text.email_receipts.payment_method }}</span><br>\n {% if sale.payment_method == \"stripe\" %}\n {{ sale.card_brand }} - *{{ sale.card_last_four }}\n {% else %}\n PayPal<br>\n {{ sale.student_paypal_email }}\n {% endif %}\n </p>\n <!-- Data duplicated to handle stacking for mobile views -->\n <table>\n <tr>\n <td class=\"show-for-mobile\">\n <p style=\"margin-top: 0px;\">\n <span class=\"bold\">{{ text.email_receipts.vendor }}</span><br>\n <a href=\"mailto:{{ school.email }}\">{{ school.name }}</a><br>\n {% if school.back_office_enabled? == false or sale.custom_gateway? %}\n {{ school.formatted_address }}\n {% if school.vat_id and school.vat_id != blank %}\n {{ school.vat_id }}\n {% endif %}\n {% endif %}\n {% if school.back_office_enabled? and sale.custom_gateway? == false %}\n <p><span class=\"bold\">{{ text.email_receipts.provided_by }}</span><br>\n {{ sale.teachable_vat_address }}\n {{ sale.teachable_vat_id }}\n </p>\n {% endif %}\n </td>\n </tr>\n </table>\n </td>\n <td width=\"20%\"></td>\n <td class=\"hide-for-mobile\" style=\"vertical-align: top;\">\n <p style=\"margin-top: 0px;\">\n <span class=\"bold\">{{ text.email_receipts.vendor }}</span><br>\n <a href=\"mailto:{{ school.email }}\">{{ school.name }}</a><br>\n {% if school.back_office_enabled? == false or sale.custom_gateway? %}\n {{ school.formatted_address }}\n {% if school.vat_id and school.vat_id != blank %}\n {{ school.vat_id }}\n {% endif %}\n {% endif %}\n {% if school.back_office_enabled? and sale.custom_gateway? == false %}\n <p><span class=\"bold\">{{ text.email_receipts.provided_by }}</span><br>\n {{ sale.teachable_vat_address }}\n {{ sale.teachable_vat_id }}\n </p>\n {% endif %}\n </td>\n </tr>\n</table>\n{% endunless %}\n",
"is_published": false,
"partial": true
},
"mailer_partials/transaction_notification_content": {
"contents": "<!-- Content -->\n{% unless sale.free? or sale.payment_method == 'external' %}\n<table class=\"data-table bordered\" width=\"100%\" cellpadding=\"0\" cellspacing=\"0\">\n <tr>\n <td class=\"data-table-title\">{{ text.email_receipts.order_summary }}</td>\n </tr>\n <tr>\n <td class=\"receipt-number-padding\">Order ID: {{ sale.receipt_id }}</td>\n <td class=\"text-right receipt-number-padding\">{{ transaction.purchased_at | date: \"%d %b %Y\" }}</td>\n </tr>\n <tr>\n <td>{{ sale.course.name }} (ID: {{ sale.course.id }})</td>\n <td class=\"text-right\">{{ sale.list_price }} </td>\n </tr>\n\n {% if sale.discounted? %}\n <tr>\n <td class=\"bordered-padding-bottom\">Discount ({{ sale.coupon_code }})</td>\n <td class=\"text-right\">-{{ sale.receipt_discount_amount }}</td>\n </tr>\n\n <tr class=\"bordered\">\n <td class=\"bordered-padding-top\">Subtotal</td>\n <td class=\"text-right\">{{ sale.discounted_amount }}</td>\n </tr>\n {% endif %}\n\n {% if sale.tax_applicable? %}\n <tr>\n <td class=\"bordered-padding-bottom\">Tax ({{ sale.tax_rate }})</td>\n <td class=\"text-right\">{{ sale.tax_amount }}</td>\n </tr>\n {% endif %}\n\n <tr class=\"total bordered\">\n <td class=\"bordered-padding-top\">Total ({{ sale.receipt_currency }})</td>\n <td class=\"text-right\">{{ sale.receipt_formatted_charge_no_currency }}</td>\n </tr>\n</table>\n\n<table class=\"data-table\" width=\"100%\" cellpadding=\"0\" cellspacing=\"0\">\n <tr>\n <td style=\"vertical-align: top;\">\n <p style=\"margin-top: 0px;\">\n <span class=\"bold\">{{ text.email_receipts.purchaser }}</span><br>\n {{ sale.student_name }}<br>\n <a href=\"mailto:{{ sale.student_email }}\">{{ sale.student_email }}</a><br>\n {{ sale.student_country }}, {{ sale.student_postal_code }}<br>\n {% if sale.student_vat_id %}\n {{ sale.student_vat_id }}\n {% endif %}\n </p>\n <p>\n <span class=\"bold\">{{ text.email_receipts.payment_method }}</span><br>\n {% if sale.payment_method == \"stripe\" %}\n {{ sale.card_brand }} - *{{ sale.card_last_four }}\n {% else %}\n PayPal<br>\n {{ sale.student_paypal_email }}\n {% endif %}\n </p>\n <!-- Data duplicated to handle stacking for mobile views -->\n <table>\n <tr>\n <td class=\"show-for-mobile\">\n <p style=\"margin-top: 0px;\">\n <span class=\"bold\">{{ text.email_receipts.vendor }}</span><br>\n <a href=\"mailto:{{ school.email }}\">{{ school.name }}</a><br>\n {% if school.back_office_enabled? == false or sale.custom_gateway? %}\n {{ school.formatted_address }}\n {% if school.vat_id and school.vat_id != blank %}\n {{ school.vat_id }}\n {% endif %}\n {% endif %}\n {% if school.back_office_enabled? and sale.custom_gateway? == false %}\n <p><span class=\"bold\">{{ text.email_receipts.provided_by }}</span><br>\n {{ sale.teachable_vat_address }}\n {{ sale.teachable_vat_id }}\n </p>\n {% endif %}\n </td>\n </tr>\n </table>\n </td>\n <td width=\"20%\"></td>\n <td class=\"hide-for-mobile\" style=\"vertical-align: top;\">\n <p style=\"margin-top: 0px;\">\n <span class=\"bold\">{{ text.email_receipts.vendor }}</span><br>\n <a href=\"mailto:{{ school.email }}\">{{ school.name }}</a><br>\n {% if school.back_office_enabled? == false or sale.custom_gateway? %}\n {{ school.formatted_address }}\n {% if school.vat_id and school.vat_id != blank %}\n {{ school.vat_id }}\n {% endif %}\n {% endif %}\n {% if school.back_office_enabled? and sale.custom_gateway? == false %}\n <p><span class=\"bold\">{{ text.email_receipts.provided_by }}</span><br>\n {{ sale.teachable_vat_address }}\n {{ sale.teachable_vat_id }}\n </p>\n {% endif %}\n </td>\n </tr>\n</table>\n{% endunless %}\n",
"default_contents": "<!-- Content -->\n{% unless sale.free? or sale.payment_method == 'external' %}\n<table class=\"data-table bordered\" width=\"100%\" cellpadding=\"0\" cellspacing=\"0\">\n <tr>\n <td class=\"data-table-title\">{{ text.email_receipts.order_summary }}</td>\n </tr>\n <tr>\n <td class=\"receipt-number-padding\">Order ID: {{ sale.receipt_id }}</td>\n <td class=\"text-right receipt-number-padding\">{{ transaction.purchased_at | date: \"%d %b %Y\" }}</td>\n </tr>\n <tr>\n <td>{{ sale.course.name }} (ID: {{ sale.course.id }})</td>\n <td class=\"text-right\">{{ sale.list_price }} </td>\n </tr>\n\n {% if sale.discounted? %}\n <tr>\n <td class=\"bordered-padding-bottom\">Discount ({{ sale.coupon_code }})</td>\n <td class=\"text-right\">-{{ sale.receipt_discount_amount }}</td>\n </tr>\n\n <tr class=\"bordered\">\n <td class=\"bordered-padding-top\">Subtotal</td>\n <td class=\"text-right\">{{ sale.discounted_amount }}</td>\n </tr>\n {% endif %}\n\n {% if sale.tax_applicable? %}\n <tr>\n <td class=\"bordered-padding-bottom\">Tax ({{ sale.tax_rate }})</td>\n <td class=\"text-right\">{{ sale.tax_amount }}</td>\n </tr>\n {% endif %}\n\n <tr class=\"total bordered\">\n <td class=\"bordered-padding-top\">Total ({{ sale.receipt_currency }})</td>\n <td class=\"text-right\">{{ sale.receipt_formatted_charge_no_currency }}</td>\n </tr>\n</table>\n\n<table class=\"data-table\" width=\"100%\" cellpadding=\"0\" cellspacing=\"0\">\n <tr>\n <td style=\"vertical-align: top;\">\n <p style=\"margin-top: 0px;\">\n <span class=\"bold\">{{ text.email_receipts.purchaser }}</span><br>\n {{ sale.student_name }}<br>\n <a href=\"mailto:{{ sale.student_email }}\">{{ sale.student_email }}</a><br>\n {{ sale.student_country }}, {{ sale.student_postal_code }}<br>\n {% if sale.student_vat_id %}\n {{ sale.student_vat_id }}\n {% endif %}\n </p>\n <p>\n <span class=\"bold\">{{ text.email_receipts.payment_method }}</span><br>\n {% if sale.payment_method == \"stripe\" %}\n {{ sale.card_brand }} - *{{ sale.card_last_four }}\n {% else %}\n PayPal<br>\n {{ sale.student_paypal_email }}\n {% endif %}\n </p>\n <!-- Data duplicated to handle stacking for mobile views -->\n <table>\n <tr>\n <td class=\"show-for-mobile\">\n <p style=\"margin-top: 0px;\">\n <span class=\"bold\">{{ text.email_receipts.vendor }}</span><br>\n <a href=\"mailto:{{ school.email }}\">{{ school.name }}</a><br>\n {% if school.back_office_enabled? == false or sale.custom_gateway? %}\n {{ school.formatted_address }}\n {% if school.vat_id and school.vat_id != blank %}\n {{ school.vat_id }}\n {% endif %}\n {% endif %}\n {% if school.back_office_enabled? and sale.custom_gateway? == false %}\n <p><span class=\"bold\">{{ text.email_receipts.provided_by }}</span><br>\n {{ sale.teachable_vat_address }}\n {{ sale.teachable_vat_id }}\n </p>\n {% endif %}\n </td>\n </tr>\n </table>\n </td>\n <td width=\"20%\"></td>\n <td class=\"hide-for-mobile\" style=\"vertical-align: top;\">\n <p style=\"margin-top: 0px;\">\n <span class=\"bold\">{{ text.email_receipts.vendor }}</span><br>\n <a href=\"mailto:{{ school.email }}\">{{ school.name }}</a><br>\n {% if school.back_office_enabled? == false or sale.custom_gateway? %}\n {{ school.formatted_address }}\n {% if school.vat_id and school.vat_id != blank %}\n {{ school.vat_id }}\n {% endif %}\n {% endif %}\n {% if school.back_office_enabled? and sale.custom_gateway? == false %}\n <p><span class=\"bold\">{{ text.email_receipts.provided_by }}</span><br>\n {{ sale.teachable_vat_address }}\n {{ sale.teachable_vat_id }}\n </p>\n {% endif %}\n </td>\n </tr>\n</table>\n{% endunless %}\n",
"is_published": false,
"partial": true
},
"mailer_partials/instructor_email_footer": {
"contents": " </div>\n <!-- /content -->\n </td>\n <td>\n\n </td>\n </tr>\n</table>\n<!-- /body -->\n",
"default_contents": " </div>\n <!-- /content -->\n </td>\n <td>\n\n </td>\n </tr>\n</table>\n<!-- /body -->\n",
"is_published": false,
"partial": true
},
"mailer_partials/email_styles": {
"contents": "<style type=\"text/css\">\n/* -------------------------------------\nEmail template: email_styles\nDescription: The CSS used across all email templates.\n------------------------------------- */\n\n\n/* -------------------------------------\nGLOBAL\n------------------------------------- */\n.rounded-gravatar {\n border-radius: 30px;\n margin-top: -5px;\n}\n\n.aligned-user {\n position:relative;\n clear:both;\n}\n\n.condensed-users {\n margin-left:120px;\n margin-right:120px\n}\n\n.clear-elements {\n clear: both;\n}\n\n.margin-left-10 {\n margin-left: 10px;\n}\n\nimg {\n max-width: 100%;\n}\n\nbody {\n -webkit-font-smoothing: antialiased;\n -webkit-text-size-adjust: none;\n margin: 0;\n padding: 0;\n font-family: \"Helvetica Neue\", \"Helvetica\", Helvetica, Arial, sans-serif;\n font-size: 100%;\n line-height: 1.6;\n}\n\n.table-wrapper {\n width: 700px;\n margin: auto;\n margin-top: 50px;\n box-shadow: 0 8px 20px #e3e7ea !important;\n -webkit-box-shadow: 0 8px 20px #e3e7ea !important;\n -moz-box-shadow: 0 8px 20px #e3e7ea !important;\n border-radius: 7px;\n -webkit-border-radius: 7px;\n -moz-border-radius: 7px;\n}\n\n/* -------------------------------------\nELEMENTS\n------------------------------------- */\np a {\n font-family: \"Helvetica Neue\", \"Helvetica\", Helvetica, Arial, sans-serif;\n color: {{ email_settings.brand_secondary }};\n}\n\n.btn-primary {\n font-family: \"Helvetica Neue\", \"Helvetica\", Helvetica, Arial, sans-serif;\n text-decoration: none;\n color: #FFF !important;\n background-color: {{ email_settings.brand_secondary }};\n border: solid {{ email_settings.brand_secondary }};\n line-height: 2;\n max-width: 100%;\n font-size: 14px;\n padding: 8px 40px 8px 40px;\n margin-top: 30px;\n margin-bottom: 30px;\n text-align: center;\n font-weight: 600;\n cursor: pointer;\n display: inline-block;\n border-radius: 30px;\n margin-left: auto;\n margin-right: auto;\n text-align: center;\n}\n\n/* -------------------------------------\nBODY\n------------------------------------- */\ntable.body-wrap {\n width: 100%;\n padding: 30px 55px;\n background: #f6f6f6;\n margin: 0;\n font-size: 100%;\n line-height: 1.8;\n font-size: 15px;\n}\n\n.container {\n display: block !important;\n margin: 0 auto !important; /* makes it centered */\n clear: both !important;\n}\n\n/* -------------------------------------\nHEADER\n------------------------------------- */\n.header {\n background-repeat: no-repeat;\n border-top-left-radius: 6px;\n border-top-right-radius: 6px;\n height: 80px;\n background: {{ email_settings.brand_primary }};\n background-size: 300px;\n background-position: 100%;\n background-repeat: no-repeat;\n line-height: 55px;\n padding-top: 40px;\n text-align: center;\n color: {{ email_settings.brand_navbar_text }};\n}\n\n.header img {\n border-radius: 50%;\n padding: 5px;\n}\n\n.header-title {\n background: {{ email_settings.brand_primary }};\n color: {{ email_settings.brand_navbar_text }};\n padding: 0px 60px 40px;\n text-align: center;\n {% if email_settings.brand_primary == \"#ffffff\" %}\n padding-bottom: 0px;\n {% endif %}\n margin-bottom: 40px;\n}\n\n.header-school-title {\n font-weight: bold;\n}\n\n.header-title h1, .header-title h1 a {\n font-size: 28px;\n line-height: 40px;\n padding-top: 0px;\n margin-bottom: 10px;\n font-weight: 400;\n color: {{ email_settings.brand_navbar_text }};\n}\n\n.content .header-title h1:first-child {\n padding-top: 0px;\n}\n\n.header-title p, .header-title p a {\n color: {{ email_settings.brand_navbar_text }};\n opacity: 0.8;\n}\n\n.header-margin-overide {\n margin-top: -40px;\n}\n\n/* -------------------------------------\nCONTENT\n------------------------------------- */\n\n.content {\n margin: 0 auto !important; /* makes it centered */\n clear: both !important;\n background: #fff;\n border-bottom-left-radius: 6px;\n border-bottom-right-radius: 6px;\n padding-bottom: 40px;\n}\n\n.content p, .content h1, .content h2, .content table, .content hr {\n padding-left: 40px;\n padding-right: 40px;\n}\n\n.content p:first-child, .content h1 {\n padding-top: 40px;\n}\n\n.content p:last-child {\n margin-bottom: 0;\n padding-bottom: 0;\n}\n\n.condensed-width {\n max-width: 510px;\n margin: auto;\n}\n\n/* -------------------------------------\nFOOTER\n------------------------------------- */\n.footer {\n padding-top: 30px;\n padding-bottom: 55px;\n width: 100%;\n clear: both !important;\n text-align: center;\n}\n\n.footer p {\n font-size: 12px;\n color: #666;\n}\n\n.footer a {\n color: #999;\n}\n\n.footer .social-icons {\n padding-top: 5px;\n}\n\n\n/* -------------------------------------\nINVOICE RECEIPT\n------------------------------------- */\n\nh1.price-jumbo {\n text-align: center;\n font-weight: 200;\n font-size: 40px;\n padding-top: 10px;\n}\n\n.data-table {\n width: 550px;\n margin:auto;\n margin-bottom: 30px;\n}\n\n.data-table td {\n color: #a0a5ad;\n letter-spacing: 0.6px;\n font-size: 15px;\n padding-top: 20px;\n padding-bottom: 20px;\n padding-left: 20px;\n padding-right: 20px;\n border-bottom: 1px dashed #B5C2D3;\n}\n\n.data-table .total td, .data-table .total td.text-right {\n background: #f7f7f7;\n border: 0;\n color: #4f5c63;\n font-weight: bold;\n}\n\n.data-table td a {\n color: {{ email_settings.brand_secondary }};\n}\n\n.data-table td.text-right {\n color: #4f5c63;\n}\n\n/* -------------------------------------\nTYPOGRAPHY\n------------------------------------- */\na {\n color: {{ email_settings.brand_secondary }};\n word-wrap: break-word;\n}\n\nh1, h2, h3 {\n font-family: \"Helvetica Neue\", Helvetica, Arial, \"Lucida Grande\", sans-serif;\n line-height: 1.1;\n margin-bottom: 15px;\n color: #47505E;\n margin: 0px 0 10px;\n line-height: 1.2;\n font-weight: 200;\n}\n\n.bold {\n font-weight: bold;\n}\n\n.text-center {\n text-align: center;\n}\n\n.text-right {\n text-align: right;\n}\n\n.left {\n float: left;\n}\n\n.right {\n float: right;\n}\n\n.small {\n font-size: 80%;\n line-height: 250%;\n vertical-align: middle;\n}\n\n.margin-none {\n margin: 0 !important;\n}\n\n.padding-none {\n padding: 0 !important;\n}\n\nh1 {\n font-size: 28px;\n line-height: 45px;\n font-weight: bold;\n margin-bottom: 30px;\n}\n\nh2 {\n font-size: 24px;\n font-weight: bold;\n margin-bottom: 20px;\n}\n\nh3 {\n font-size: 22px;\n font-weight: bold;\n margin-bottom: 20px;\n}\n\np, ul, ol {\n font-weight: normal;\n padding: 0;\n font-family: \"Helvetica Neue\", \"Helvetica\", Helvetica, Arial, sans-serif;\n line-height: 1.7;\n margin-bottom: 1.3em;\n font-size: 15px;\n color: #47505E;\n}\n\np:first-child {\n margin-top: 0px;\n}\n\nul li, ol li {\n margin-left: 50px;\n list-style-position: inside;\n}\n\nhr {\n border-top-width: 0;\n}\n\n/* Unsubscribe Link */\na.unsubscribe-link {\n font-size: 12px;\n margin-top: 50px;\n display: block;\n text-align: center;\n text-decoration: underline;\n}\n\n/* -------------------------------------\nTAX FORMS\n------------------------------------- */\n.tax-form-box {\n border: solid;\n border-width: 2px;\n border-color: #808080;\n border-radius: 10px;\n margin-left: 40px;\n margin-right: 40px;\n padding-top: 20px;\n height: 45px;\n text-align: center;\n color: #44443f;\n}\n\n/* -------------------------------------\nLEGACY STUFF\nThese are no longer needed, but will save old customized templates from breaking\n------------------------------------- */\n.content h1.headline:first-child, .content h2.headline:first-child {\n padding-top: 40px;\n}\n\n.content h2.subline {\n font-weight: 300;\n font-size: 20px;\n}\n\n.invoice {\n margin: 20px auto;\n text-align: left;\n width: 80%;\n}\n\n.invoice td {\n padding: 15px 10px;\n font-size: 110%;\n line-height: 125%;\n}\n\n.invoice .invoice-details {\n font-size: 19px;\n}\n\n.invoice .invoice-items {\n width: 100%;\n}\n\n.invoice .invoice-items td {\n border-top: #eee 1px solid;\n}\n\n.invoice .invoice-items .total td {\n border-top: 2px solid #333;\n border-bottom: 2px solid #333;\n font-weight: 700;\n}\n\n.alignright {\n text-align: right;\n}\n\n.personal-details {\n margin: 0px auto;\n text-align: left;\n width: 80%;\n}\n\n.personal-details td {\n padding: 15px 10px;\n font-size: 100%;\n line-height: 125%;\n}\n\n.personal-details .detail-items {\n width: 100%;\n}\n\n.personal-details .detail-items tr:first-child td {\n border-top: #eee 1px solid;\n}\n\n.personal-details .detail-items td {\n border-bottom: #eee 1px solid;\n}\n\n.personal-details .detail-items .stripe {\n background: #fcfcfc;\n}\n\n.personal-details .detail-items .alignleft {\n font-weight: bold;\n}\n\n.personal-details .detail-items .alignright {\n border-left: 1px solid #eee;\n padding-left: 20px;\n}\n\n</style>\n\n\n<style data-roadie-ignore>\n/* -------------------------------------\nRESPONSIVENESS\n!importants in here are necessary since email clients\ndon't automatically override these\n------------------------------------- */\n@media only screen and (max-device-width: 700px) {\n .table-wrapper {\n width: 100% !important;\n margin-top: 0px !important;\n border-radius: 0px !important;\n }\n\n .header {\n border-radius: 0px !important;\n }\n\n .header-title {\n padding-left: 20px !important;\n padding-right: 20px !important;\n }\n\n .header-title h1 {\n font-size: 25px !important;\n }\n\n .data-table {\n width: 100% !important;\n margin: 0 !important;\n }\n}\n</style>\n",
"default_contents": "<style type=\"text/css\">\n/* -------------------------------------\nEmail template: email_styles\nDescription: The CSS used across all email templates.\n------------------------------------- */\n\n\n/* -------------------------------------\nGLOBAL\n------------------------------------- */\n.rounded-gravatar {\n border-radius: 30px;\n margin-top: -5px;\n}\n\n.aligned-user {\n position:relative;\n clear:both;\n}\n\n.condensed-users {\n margin-left:120px;\n margin-right:120px\n}\n\n.clear-elements {\n clear: both;\n}\n\n.margin-left-10 {\n margin-left: 10px;\n}\n\nimg {\n max-width: 100%;\n}\n\nbody {\n -webkit-font-smoothing: antialiased;\n -webkit-text-size-adjust: none;\n margin: 0;\n padding: 0;\n font-family: \"Helvetica Neue\", \"Helvetica\", Helvetica, Arial, sans-serif;\n font-size: 100%;\n line-height: 1.6;\n}\n\n.table-wrapper {\n width: 700px;\n margin: auto;\n margin-top: 50px;\n box-shadow: 0 8px 20px #e3e7ea !important;\n -webkit-box-shadow: 0 8px 20px #e3e7ea !important;\n -moz-box-shadow: 0 8px 20px #e3e7ea !important;\n border-radius: 7px;\n -webkit-border-radius: 7px;\n -moz-border-radius: 7px;\n}\n\n/* -------------------------------------\nELEMENTS\n------------------------------------- */\np a {\n font-family: \"Helvetica Neue\", \"Helvetica\", Helvetica, Arial, sans-serif;\n color: {{ email_settings.brand_secondary }};\n}\n\n.btn-primary {\n font-family: \"Helvetica Neue\", \"Helvetica\", Helvetica, Arial, sans-serif;\n text-decoration: none;\n color: #FFF !important;\n background-color: {{ email_settings.brand_secondary }};\n border: solid {{ email_settings.brand_secondary }};\n line-height: 2;\n max-width: 100%;\n font-size: 14px;\n padding: 8px 40px 8px 40px;\n margin-top: 30px;\n margin-bottom: 30px;\n text-align: center;\n font-weight: 600;\n cursor: pointer;\n display: inline-block;\n border-radius: 30px;\n margin-left: auto;\n margin-right: auto;\n text-align: center;\n}\n\n/* -------------------------------------\nBODY\n------------------------------------- */\ntable.body-wrap {\n width: 100%;\n padding: 30px 55px;\n background: #f6f6f6;\n margin: 0;\n font-size: 100%;\n line-height: 1.8;\n font-size: 15px;\n}\n\n.container {\n display: block !important;\n margin: 0 auto !important; /* makes it centered */\n clear: both !important;\n}\n\n/* -------------------------------------\nHEADER\n------------------------------------- */\n.header {\n background-repeat: no-repeat;\n border-top-left-radius: 6px;\n border-top-right-radius: 6px;\n height: 80px;\n background: {{ email_settings.brand_primary }};\n background-size: 300px;\n background-position: 100%;\n background-repeat: no-repeat;\n line-height: 55px;\n padding-top: 40px;\n text-align: center;\n color: {{ email_settings.brand_navbar_text }};\n}\n\n.header img {\n border-radius: 50%;\n padding: 5px;\n}\n\n.header-title {\n background: {{ email_settings.brand_primary }};\n color: {{ email_settings.brand_navbar_text }};\n padding: 0px 60px 40px;\n text-align: center;\n {% if email_settings.brand_primary == \"#ffffff\" %}\n padding-bottom: 0px;\n {% endif %}\n margin-bottom: 40px;\n}\n\n.header-school-title {\n font-weight: bold;\n}\n\n.header-title h1, .header-title h1 a {\n font-size: 28px;\n line-height: 40px;\n padding-top: 0px;\n margin-bottom: 10px;\n font-weight: 400;\n color: {{ email_settings.brand_navbar_text }};\n}\n\n.content .header-title h1:first-child {\n padding-top: 0px;\n}\n\n.header-title p, .header-title p a {\n color: {{ email_settings.brand_navbar_text }};\n opacity: 0.8;\n}\n\n.header-margin-overide {\n margin-top: -40px;\n}\n\n/* -------------------------------------\nCONTENT\n------------------------------------- */\n\n.content {\n margin: 0 auto !important; /* makes it centered */\n clear: both !important;\n background: #fff;\n border-bottom-left-radius: 6px;\n border-bottom-right-radius: 6px;\n padding-bottom: 40px;\n}\n\n.content p, .content h1, .content h2, .content table, .content hr {\n padding-left: 40px;\n padding-right: 40px;\n}\n\n.content p:first-child, .content h1 {\n padding-top: 40px;\n}\n\n.content p:last-child {\n margin-bottom: 0;\n padding-bottom: 0;\n}\n\n.condensed-width {\n max-width: 510px;\n margin: auto;\n}\n\n/* -------------------------------------\nFOOTER\n------------------------------------- */\n.footer {\n padding-top: 30px;\n padding-bottom: 55px;\n width: 100%;\n clear: both !important;\n text-align: center;\n}\n\n.footer p {\n font-size: 12px;\n color: #666;\n}\n\n.footer a {\n color: #999;\n}\n\n.footer .social-icons {\n padding-top: 5px;\n}\n\n\n/* -------------------------------------\nINVOICE RECEIPT\n------------------------------------- */\n\nh1.price-jumbo {\n text-align: center;\n font-weight: 200;\n font-size: 40px;\n padding-top: 10px;\n}\n\n.data-table {\n width: 550px;\n margin:auto;\n margin-bottom: 30px;\n}\n\n.data-table td {\n color: #a0a5ad;\n letter-spacing: 0.6px;\n font-size: 15px;\n padding-top: 20px;\n padding-bottom: 20px;\n padding-left: 20px;\n padding-right: 20px;\n border-bottom: 1px dashed #B5C2D3;\n}\n\n.data-table .total td, .data-table .total td.text-right {\n background: #f7f7f7;\n border: 0;\n color: #4f5c63;\n font-weight: bold;\n}\n\n.data-table td a {\n color: {{ email_settings.brand_secondary }};\n}\n\n.data-table td.text-right {\n color: #4f5c63;\n}\n\n/* -------------------------------------\nTYPOGRAPHY\n------------------------------------- */\na {\n color: {{ email_settings.brand_secondary }};\n word-wrap: break-word;\n}\n\nh1, h2, h3 {\n font-family: \"Helvetica Neue\", Helvetica, Arial, \"Lucida Grande\", sans-serif;\n line-height: 1.1;\n margin-bottom: 15px;\n color: #47505E;\n margin: 0px 0 10px;\n line-height: 1.2;\n font-weight: 200;\n}\n\n.bold {\n font-weight: bold;\n}\n\n.text-center {\n text-align: center;\n}\n\n.text-right {\n text-align: right;\n}\n\n.left {\n float: left;\n}\n\n.right {\n float: right;\n}\n\n.small {\n font-size: 80%;\n line-height: 250%;\n vertical-align: middle;\n}\n\n.margin-none {\n margin: 0 !important;\n}\n\n.padding-none {\n padding: 0 !important;\n}\n\nh1 {\n font-size: 28px;\n line-height: 45px;\n font-weight: bold;\n margin-bottom: 30px;\n}\n\nh2 {\n font-size: 24px;\n font-weight: bold;\n margin-bottom: 20px;\n}\n\nh3 {\n font-size: 22px;\n font-weight: bold;\n margin-bottom: 20px;\n}\n\np, ul, ol {\n font-weight: normal;\n padding: 0;\n font-family: \"Helvetica Neue\", \"Helvetica\", Helvetica, Arial, sans-serif;\n line-height: 1.7;\n margin-bottom: 1.3em;\n font-size: 15px;\n color: #47505E;\n}\n\np:first-child {\n margin-top: 0px;\n}\n\nul li, ol li {\n margin-left: 50px;\n list-style-position: inside;\n}\n\nhr {\n border-top-width: 0;\n}\n\n/* Unsubscribe Link */\na.unsubscribe-link {\n font-size: 12px;\n margin-top: 50px;\n display: block;\n text-align: center;\n text-decoration: underline;\n}\n\n/* -------------------------------------\nTAX FORMS\n------------------------------------- */\n.tax-form-box {\n border: solid;\n border-width: 2px;\n border-color: #808080;\n border-radius: 10px;\n margin-left: 40px;\n margin-right: 40px;\n padding-top: 20px;\n height: 45px;\n text-align: center;\n color: #44443f;\n}\n\n/* -------------------------------------\nLEGACY STUFF\nThese are no longer needed, but will save old customized templates from breaking\n------------------------------------- */\n.content h1.headline:first-child, .content h2.headline:first-child {\n padding-top: 40px;\n}\n\n.content h2.subline {\n font-weight: 300;\n font-size: 20px;\n}\n\n.invoice {\n margin: 20px auto;\n text-align: left;\n width: 80%;\n}\n\n.invoice td {\n padding: 15px 10px;\n font-size: 110%;\n line-height: 125%;\n}\n\n.invoice .invoice-details {\n font-size: 19px;\n}\n\n.invoice .invoice-items {\n width: 100%;\n}\n\n.invoice .invoice-items td {\n border-top: #eee 1px solid;\n}\n\n.invoice .invoice-items .total td {\n border-top: 2px solid #333;\n border-bottom: 2px solid #333;\n font-weight: 700;\n}\n\n.alignright {\n text-align: right;\n}\n\n.personal-details {\n margin: 0px auto;\n text-align: left;\n width: 80%;\n}\n\n.personal-details td {\n padding: 15px 10px;\n font-size: 100%;\n line-height: 125%;\n}\n\n.personal-details .detail-items {\n width: 100%;\n}\n\n.personal-details .detail-items tr:first-child td {\n border-top: #eee 1px solid;\n}\n\n.personal-details .detail-items td {\n border-bottom: #eee 1px solid;\n}\n\n.personal-details .detail-items .stripe {\n background: #fcfcfc;\n}\n\n.personal-details .detail-items .alignleft {\n font-weight: bold;\n}\n\n.personal-details .detail-items .alignright {\n border-left: 1px solid #eee;\n padding-left: 20px;\n}\n\n</style>\n\n\n<style data-roadie-ignore>\n/* -------------------------------------\nRESPONSIVENESS\n!importants in here are necessary since email clients\ndon't automatically override these\n------------------------------------- */\n@media only screen and (max-device-width: 700px) {\n .table-wrapper {\n width: 100% !important;\n margin-top: 0px !important;\n border-radius: 0px !important;\n }\n\n .header {\n border-radius: 0px !important;\n }\n\n .header-title {\n padding-left: 20px !important;\n padding-right: 20px !important;\n }\n\n .header-title h1 {\n font-size: 25px !important;\n }\n\n .data-table {\n width: 100% !important;\n margin: 0 !important;\n }\n}\n</style>\n",
"is_published": false,
"partial": true
},
"mailer_partials/purchase_notification_with_tax_details_header": {
"contents": "<!--\nEmail template: purchase_notification_with_tax_details\nDescription: Email header used for enrollment emails with tax details\n -->\n<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n <head>\n <meta name=\"viewport\" content=\"width=device-width\">\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">\n <meta charset=\"UTF-8\">\n <title></title>\n {% include \"mailer_partials/purchase_notification_with_tax_details_styles\" %}\n </head>\n <body>\n <!--\n Footer is within a border that wraps around the email so footer is\n being used as a wrapper\n -->\n <div class=\"email-wrapper\">\n <table width=\"100%\" cellpadding=\"0\" cellspacing=\"0\">\n <tr>\n <td>\n <!-- body -->\n <table cellpadding=\"0\" cellspacing=\"0\" class=\"table-wrapper\">\n <tr>\n <!-- Brand Header -->\n <td class=\"container header\">\n {% if email_settings.favicon_url %}\n <img src=\"{{ email_settings.favicon_url }}\" height=\"64\" width=\"64\">\n {% else %}\n <div class=\"header-school-title\">{{ school.name }}</div>\n {% endif %}\n </td>\n </tr>\n",
"default_contents": "<!--\nEmail template: purchase_notification_with_tax_details\nDescription: Email header used for enrollment emails with tax details\n -->\n<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n <head>\n <meta name=\"viewport\" content=\"width=device-width\">\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">\n <meta charset=\"UTF-8\">\n <title></title>\n {% include \"mailer_partials/purchase_notification_with_tax_details_styles\" %}\n </head>\n <body>\n <!--\n Footer is within a border that wraps around the email so footer is\n being used as a wrapper\n -->\n <div class=\"email-wrapper\">\n <table width=\"100%\" cellpadding=\"0\" cellspacing=\"0\">\n <tr>\n <td>\n <!-- body -->\n <table cellpadding=\"0\" cellspacing=\"0\" class=\"table-wrapper\">\n <tr>\n <!-- Brand Header -->\n <td class=\"container header\">\n {% if email_settings.favicon_url %}\n <img src=\"{{ email_settings.favicon_url }}\" height=\"64\" width=\"64\">\n {% else %}\n <div class=\"header-school-title\">{{ school.name }}</div>\n {% endif %}\n </td>\n </tr>\n",
"is_published": false,
"partial": true
},
"mailer_partials/student_email_footer": {
"contents": " </table>\n <!-- /body -->\n <!-- footer -->\n <div class=\"footer\">\n <p>{{ text.footer.copyright }} {{ school.name }}</p>\n {% if sale.vat_tax_id %}\n {{sale.vendor_tax_address}}\n {% endif %}\n </div>\n <br>\n </td>\n </tr>\n</table>\n\n",
"default_contents": " </table>\n <!-- /body -->\n <!-- footer -->\n <div class=\"footer\">\n <p>{{ text.footer.copyright }} {{ school.name }}</p>\n {% if sale.vat_tax_id %}\n {{sale.vendor_tax_address}}\n {% endif %}\n </div>\n <br>\n </td>\n </tr>\n</table>\n\n",
"is_published": false,
"partial": true
},
"mailer_partials/email_header": {
"contents": "<!--\nEmail template: email_header\nDescription: The email header used across all templates\n -->\n<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n <head>\n <meta name=\"viewport\" content=\"width=device-width\">\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">\n <meta charset=\"UTF-8\">\n <title></title>\n {% include \"mailer_partials/email_styles\" %}\n </head>\n <body>\n <table style=\"background: #F5F6F7;\" width=\"100%\" cellpadding=\"0\" cellspacing=\"0\">\n <tr>\n <td>\n <!-- body -->\n <table cellpadding=\"0\" cellspacing=\"0\" class=\"table-wrapper\" style=\"box-shadow: 0 8px 20px #e3e7ea !important; -webkit-box-shadow: 0 8px 20px #e3e7ea !important; -moz-box-shadow: 0 8px 20px #e3e7ea !important;\">\n <tr>\n <!-- Brand Header -->\n <td class=\"container header\">\n {% if email_settings.favicon_url %}\n <img src=\"{{ email_settings.favicon_url }}\" height=\"64\" width=\"64\">\n {% else %}\n <div class=\"header-school-title\">{{ school.name }}</div>\n {% endif %}\n </td>\n </tr>\n",
"default_contents": "<!--\nEmail template: email_header\nDescription: The email header used across all templates\n -->\n<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n <head>\n <meta name=\"viewport\" content=\"width=device-width\">\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">\n <meta charset=\"UTF-8\">\n <title></title>\n {% include \"mailer_partials/email_styles\" %}\n </head>\n <body>\n <table style=\"background: #F5F6F7;\" width=\"100%\" cellpadding=\"0\" cellspacing=\"0\">\n <tr>\n <td>\n <!-- body -->\n <table cellpadding=\"0\" cellspacing=\"0\" class=\"table-wrapper\" style=\"box-shadow: 0 8px 20px #e3e7ea !important; -webkit-box-shadow: 0 8px 20px #e3e7ea !important; -moz-box-shadow: 0 8px 20px #e3e7ea !important;\">\n <tr>\n <!-- Brand Header -->\n <td class=\"container header\">\n {% if email_settings.favicon_url %}\n <img src=\"{{ email_settings.favicon_url }}\" height=\"64\" width=\"64\">\n {% else %}\n <div class=\"header-school-title\">{{ school.name }}</div>\n {% endif %}\n </td>\n </tr>\n",
"is_published": false,
"partial": true
},
"mailer_partials/purchase_notification_with_tax_details_styles": {
"contents": "<style type=\"text/css\">\n/* -------------------------------------\nEmail template: purchase_notification_with_tax_details_styles\nDescription: The CSS used for the purchase notification with tax details\n------------------------------------- */\n\n\n/* -------------------------------------\nGLOBAL\n------------------------------------- */\n.rounded-gravatar {\n border-radius: 30px;\n margin-top: -5px;\n}\n\nbody {\n -webkit-font-smoothing: antialiased;\n -webkit-text-size-adjust: none;\n margin: 0;\n padding: 0;\n font-family: \"Helvetica Neue\", \"Helvetica\", Helvetica, Arial, sans-serif;\n font-size: 100%;\n line-height: 1.6;\n}\n\n.table-wrapper {\n margin: auto;\n margin-top: 50px;\n background-color: #fff;\n padding: 64px 100px;\n max-width: 800px;\n min-width: 800px;\n}\n\n.email-wrapper {\n background-color: #F5F6F7;\n}\n\n/* -------------------------------------\nELEMENTS\n------------------------------------- */\np a {\n font-family: \"Helvetica Neue\", \"Helvetica\", Helvetica, Arial, sans-serif;\n}\n\n.btn-primary {\n font-family: \"Helvetica Neue\", \"Helvetica\", Helvetica, Arial, sans-serif;\n text-decoration: none;\n color: #FFF !important;\n background-color: {{ email_settings.brand_secondary }};\n line-height: 2;\n max-width: 100%;\n font-size: 14px;\n padding: 8px 40px 8px 40px;\n margin-bottom: 40px;\n text-align: center;\n font-weight: 600;\n cursor: pointer;\n display: inline-block;\n border-radius: 30px;\n margin-left: auto;\n margin-right: auto;\n text-align: center;\n}\n\n/* -------------------------------------\nBODY\n------------------------------------- */\ntable.body-wrap {\n width: 100%;\n background: #f6f6f6;\n margin: 0;\n font-size: 100%;\n line-height: 1.8;\n}\n\n.container {\n display: block !important;\n margin: 0 auto !important; /* makes it centered */\n clear: both !important;\n}\n\n/* -------------------------------------\nHEADER\n------------------------------------- */\n.header {\n background-repeat: no-repeat;\n border-top-left-radius: 6px;\n border-top-right-radius: 6px;\n text-align: center;\n color: #000;\n padding-bottom: 32px;\n}\n\n.header img {\n border-radius: 50%;\n padding: 5px;\n}\n\n.header-title {\n color: #000;\n text-align: center;\n padding-left: 10px;\n padding-right: 10px;\n}\n\n.header-school-title {\n font-weight: bold;\n}\n\n.header-title h1, .header-title h1 a {\n font-size: 28px;\n line-height: 40px;\n padding-top: 0px;\n margin-bottom: 32px;\n font-weight: 400;\n color: #000;\n}\n\n.content .header-title h1:first-child {\n padding-top: 0px;\n}\n\n.header-title p, .header-title p a {\n color: {{ email_settings.brand_navbar_text }};\n opacity: 0.8;\n}\n\n.header-margin-overide {\n margin-top: -40px;\n}\n\n/* -------------------------------------\nCONTENT\n------------------------------------- */\n\n.content {\n margin: 0 auto !important; /* makes it centered */\n clear: both !important;\n border-bottom-left-radius: 6px;\n border-bottom-right-radius: 6px;\n}\n\n.content p:last-child {\n margin-bottom: 0;\n padding-bottom: 0;\n}\n\n/* -------------------------------------\nFOOTER\n------------------------------------- */\n.footer {\n width: 100%;\n clear: both !important;\n text-align: center;\n}\n\n.footer p {\n font-size: 12px;\n color: #666;\n}\n\n.footer a {\n color: #999;\n}\n\n.footer-padding {\n padding-top: 32px;\n}\n\n/* -------------------------------------\nINVOICE RECEIPT\n------------------------------------- */\n.data-table {\n padding-top: 32px;\n padding-bottom: 32px;\n}\n\n.data-table td {\n padding-top: 5px;\n padding-bottom: 5px;\n}\n\n.data-table td a {\n color: {{ email_settings.brand_secondary }};\n}\n\n.bordered {\n border-top: 1px solid #DBDBDB;\n border-bottom: 1px solid #DBDBDB;\n}\n\ntr.bordered td {\n border-top: 1px solid #DBDBDB;]\n}\n\n.data-table .bordered-padding-top {\n padding-top: 16px;\n}\n\n.data-table .bordered-padding-bottom {\n padding-bottom: 16px;\n}\n\n.data-table .data-table-title {\n font-weight: bold;\n font-size: 20px;\n padding-top: 0px;\n}\n\n.data-table .receipt-number-padding {\n padding-bottom: 32px;\n}\n\n.total {\n font-weight: bold;\n}\n\n.show-for-mobile {\n display: none;\n}\n\n/* -------------------------------------\nTYPOGRAPHY\n------------------------------------- */\na {\n color: {{ email_settings.brand_secondary }};\n word-wrap: break-word;\n}\n\nh1, h2, h3 {\n font-family: \"Helvetica Neue\", Helvetica, Arial, \"Lucida Grande\", sans-serif;\n line-height: 1.1;\n margin-bottom: 15px;\n color: #47505E;\n margin: 0px 0 10px;\n line-height: 1.2;\n font-weight: 200;\n}\n\n\n.bold {\n font-weight: bold;\n}\n\n.text-center {\n text-align: center;\n}\n\n.text-right {\n text-align: right;\n}\n\nh1 {\n font-size: 28px;\n line-height: 45px;\n font-weight: bold;\n margin-bottom: 30px;\n}\n\n/* Unsubscribe Link */\na.unsubscribe-link {\n font-size: 12px;\n margin-top: 50px;\n display: block;\n text-align: center;\n text-decoration: underline;\n}\n\n</style>\n\n\n<style data-roadie-ignore>\n/* -------------------------------------\nRESPONSIVENESS\n!importants in here are necessary since email clients\ndon't automatically override these\n------------------------------------- */\n@media screen and (max-width: 700px) {\n .table-wrapper {\n width: 100% !important;\n margin-top: 0px !important;\n border-radius: 0px !important;\n padding: 5px 25px !important;\n min-width: 0px !important;\n }\n\n .header {\n border-radius: 0px !important;\n }\n\n .header-title h1 {\n font-size: 25px !important;\n }\n\n .hide-for-mobile {\n display: none;\n }\n\n .show-for-mobile {\n display: inline !important;\n padding-left: 0px;\n padding-right: 0px;\n }\n}\n</style>\n",
"default_contents": "<style type=\"text/css\">\n/* -------------------------------------\nEmail template: purchase_notification_with_tax_details_styles\nDescription: The CSS used for the purchase notification with tax details\n------------------------------------- */\n\n\n/* -------------------------------------\nGLOBAL\n------------------------------------- */\n.rounded-gravatar {\n border-radius: 30px;\n margin-top: -5px;\n}\n\nbody {\n -webkit-font-smoothing: antialiased;\n -webkit-text-size-adjust: none;\n margin: 0;\n padding: 0;\n font-family: \"Helvetica Neue\", \"Helvetica\", Helvetica, Arial, sans-serif;\n font-size: 100%;\n line-height: 1.6;\n}\n\n.table-wrapper {\n margin: auto;\n margin-top: 50px;\n background-color: #fff;\n padding: 64px 100px;\n max-width: 800px;\n min-width: 800px;\n}\n\n.email-wrapper {\n background-color: #F5F6F7;\n}\n\n/* -------------------------------------\nELEMENTS\n------------------------------------- */\np a {\n font-family: \"Helvetica Neue\", \"Helvetica\", Helvetica, Arial, sans-serif;\n}\n\n.btn-primary {\n font-family: \"Helvetica Neue\", \"Helvetica\", Helvetica, Arial, sans-serif;\n text-decoration: none;\n color: #FFF !important;\n background-color: {{ email_settings.brand_secondary }};\n line-height: 2;\n max-width: 100%;\n font-size: 14px;\n padding: 8px 40px 8px 40px;\n margin-bottom: 40px;\n text-align: center;\n font-weight: 600;\n cursor: pointer;\n display: inline-block;\n border-radius: 30px;\n margin-left: auto;\n margin-right: auto;\n text-align: center;\n}\n\n/* -------------------------------------\nBODY\n------------------------------------- */\ntable.body-wrap {\n width: 100%;\n background: #f6f6f6;\n margin: 0;\n font-size: 100%;\n line-height: 1.8;\n}\n\n.container {\n display: block !important;\n margin: 0 auto !important; /* makes it centered */\n clear: both !important;\n}\n\n/* -------------------------------------\nHEADER\n------------------------------------- */\n.header {\n background-repeat: no-repeat;\n border-top-left-radius: 6px;\n border-top-right-radius: 6px;\n text-align: center;\n color: #000;\n padding-bottom: 32px;\n}\n\n.header img {\n border-radius: 50%;\n padding: 5px;\n}\n\n.header-title {\n color: #000;\n text-align: center;\n padding-left: 10px;\n padding-right: 10px;\n}\n\n.header-school-title {\n font-weight: bold;\n}\n\n.header-title h1, .header-title h1 a {\n font-size: 28px;\n line-height: 40px;\n padding-top: 0px;\n margin-bottom: 32px;\n font-weight: 400;\n color: #000;\n}\n\n.content .header-title h1:first-child {\n padding-top: 0px;\n}\n\n.header-title p, .header-title p a {\n color: {{ email_settings.brand_navbar_text }};\n opacity: 0.8;\n}\n\n.header-margin-overide {\n margin-top: -40px;\n}\n\n/* -------------------------------------\nCONTENT\n------------------------------------- */\n\n.content {\n margin: 0 auto !important; /* makes it centered */\n clear: both !important;\n border-bottom-left-radius: 6px;\n border-bottom-right-radius: 6px;\n}\n\n.content p:last-child {\n margin-bottom: 0;\n padding-bottom: 0;\n}\n\n/* -------------------------------------\nFOOTER\n------------------------------------- */\n.footer {\n width: 100%;\n clear: both !important;\n text-align: center;\n}\n\n.footer p {\n font-size: 12px;\n color: #666;\n}\n\n.footer a {\n color: #999;\n}\n\n.footer-padding {\n padding-top: 32px;\n}\n\n/* -------------------------------------\nINVOICE RECEIPT\n------------------------------------- */\n.data-table {\n padding-top: 32px;\n padding-bottom: 32px;\n}\n\n.data-table td {\n padding-top: 5px;\n padding-bottom: 5px;\n}\n\n.data-table td a {\n color: {{ email_settings.brand_secondary }};\n}\n\n.bordered {\n border-top: 1px solid #DBDBDB;\n border-bottom: 1px solid #DBDBDB;\n}\n\ntr.bordered td {\n border-top: 1px solid #DBDBDB;]\n}\n\n.data-table .bordered-padding-top {\n padding-top: 16px;\n}\n\n.data-table .bordered-padding-bottom {\n padding-bottom: 16px;\n}\n\n.data-table .data-table-title {\n font-weight: bold;\n font-size: 20px;\n padding-top: 0px;\n}\n\n.data-table .receipt-number-padding {\n padding-bottom: 32px;\n}\n\n.total {\n font-weight: bold;\n}\n\n.show-for-mobile {\n display: none;\n}\n\n/* -------------------------------------\nTYPOGRAPHY\n------------------------------------- */\na {\n color: {{ email_settings.brand_secondary }};\n word-wrap: break-word;\n}\n\nh1, h2, h3 {\n font-family: \"Helvetica Neue\", Helvetica, Arial, \"Lucida Grande\", sans-serif;\n line-height: 1.1;\n margin-bottom: 15px;\n color: #47505E;\n margin: 0px 0 10px;\n line-height: 1.2;\n font-weight: 200;\n}\n\n\n.bold {\n font-weight: bold;\n}\n\n.text-center {\n text-align: center;\n}\n\n.text-right {\n text-align: right;\n}\n\nh1 {\n font-size: 28px;\n line-height: 45px;\n font-weight: bold;\n margin-bottom: 30px;\n}\n\n/* Unsubscribe Link */\na.unsubscribe-link {\n font-size: 12px;\n margin-top: 50px;\n display: block;\n text-align: center;\n text-decoration: underline;\n}\n\n</style>\n\n\n<style data-roadie-ignore>\n/* -------------------------------------\nRESPONSIVENESS\n!importants in here are necessary since email clients\ndon't automatically override these\n------------------------------------- */\n@media screen and (max-width: 700px) {\n .table-wrapper {\n width: 100% !important;\n margin-top: 0px !important;\n border-radius: 0px !important;\n padding: 5px 25px !important;\n min-width: 0px !important;\n }\n\n .header {\n border-radius: 0px !important;\n }\n\n .header-title h1 {\n font-size: 25px !important;\n }\n\n .hide-for-mobile {\n display: none;\n }\n\n .show-for-mobile {\n display: inline !important;\n padding-left: 0px;\n padding-right: 0px;\n }\n}\n</style>\n",
"is_published": false,
"partial": true
},
"mailer_partials/purchase_notification_with_tax_details_editable": {
"contents": "<!--\nEmail template: student/purchase_notification_with_tax_details\nDescription: This email is sent to a student when they enroll in a course.\n -->\n\n<!-- Email Title -->\n<div class=\"header-title\">\n <h1>{{ text.email_receipts.thank_you_for_enrolling_in }} \"{{ sale.course.name }}\"</h1>\n</div>\n\n<table width=\"100%\" cellpadding=\"0\" cellspacing=\"0\">\n <tr>\n <td class=\"text-center\"><a href=\"{{ sale.course.url }}\" class=\"btn-primary\" target=\"_blank\">Access course</a></td>\n </tr>\n</table>\n<!-- Auto-generated JSON-ld compliant JSON for showing action buttons in emails -->\n<script type=\"application/ld+json\">{{ goto_action_json }}</script>\n",
"default_contents": "<!--\nEmail template: student/purchase_notification_with_tax_details\nDescription: This email is sent to a student when they enroll in a course.\n -->\n\n<!-- Email Title -->\n<div class=\"header-title\">\n <h1>{{ text.email_receipts.thank_you_for_enrolling_in }} \"{{ sale.course.name }}\"</h1>\n</div>\n\n<table width=\"100%\" cellpadding=\"0\" cellspacing=\"0\">\n <tr>\n <td class=\"text-center\"><a href=\"{{ sale.course.url }}\" class=\"btn-primary\" target=\"_blank\">Access course</a></td>\n </tr>\n</table>\n<!-- Auto-generated JSON-ld compliant JSON for showing action buttons in emails -->\n<script type=\"application/ld+json\">{{ goto_action_json }}</script>\n",
"is_published": false,
"partial": true
},
"mailer_partials/purchase_notification_with_tax_details_footer": {
"contents": "<div class=\"footer\">\n <p class=\"text-center footer-padding\">\n {{ text.email_receipts.purchase_questions }} <a href=\"{{ @contact_url }}\">Contact {{ school.name }}</a>\n </p>\n\n <p>{{ text.footer.copyright }} {{ school.name }}</p>\n</div>\n<br>\n",
"default_contents": "<div class=\"footer\">\n <p class=\"text-center footer-padding\">\n {{ text.email_receipts.purchase_questions }} <a href=\"{{ @contact_url }}\">Contact {{ school.name }}</a>\n </p>\n\n <p>{{ text.footer.copyright }} {{ school.name }}</p>\n</div>\n<br>\n",
"is_published": false,
"partial": true
},
"mailer_partials/student_details": {
"contents": "<p class=\"text-center\">Here's some information about {{ student.name }}:</p>\n\n<table class=\"data-table\" cellpadding=\"0\" cellspacing=\"0\">\n <tr>\n <td width=\"40%\">Full Name</td>\n <td class=\"text-right\">{{ student.name }}</a></td>\n </tr>\n <tr>\n <td width=\"40%\">Email Address</td>\n <td class=\"text-right\"><a data-skip-utm-params=\"true\" data-skip-click=\"true\" href=\"mailto:{{student.email}}\">{{student.email}}</a></td>\n </tr>\n {% if student.country %}\n <tr>\n <td width=\"40%\">Country</td>\n <td class=\"text-right\">{{student.country}}</td>\n </tr>\n {% endif %}\n {% if student.src %}\n <tr>\n <td width=\"40%\">Source</td>\n <td class=\"text-right stripe\">{{student.src}}</td>\n </tr>\n {% endif %}\n {% if student.signed_up_affiliate_code %}\n <tr>\n <td width=\"40%\">Affiliate code</td>\n <td class=\"text-right\">{{student.signed_up_affiliate_code}}</td>\n </tr>\n {% endif %}\n</table>\n\n<p class=\"text-center\"><a data-skip-utm-params=\"true\" href=\"{{student.admin_url}}\" class=\"btn-primary\">More details</a></p>\n",
"default_contents": "<p class=\"text-center\">Here's some information about {{ student.name }}:</p>\n\n<table class=\"data-table\" cellpadding=\"0\" cellspacing=\"0\">\n <tr>\n <td width=\"40%\">Full Name</td>\n <td class=\"text-right\">{{ student.name }}</a></td>\n </tr>\n <tr>\n <td width=\"40%\">Email Address</td>\n <td class=\"text-right\"><a data-skip-utm-params=\"true\" data-skip-click=\"true\" href=\"mailto:{{student.email}}\">{{student.email}}</a></td>\n </tr>\n {% if student.country %}\n <tr>\n <td width=\"40%\">Country</td>\n <td class=\"text-right\">{{student.country}}</td>\n </tr>\n {% endif %}\n {% if student.src %}\n <tr>\n <td width=\"40%\">Source</td>\n <td class=\"text-right stripe\">{{student.src}}</td>\n </tr>\n {% endif %}\n {% if student.signed_up_affiliate_code %}\n <tr>\n <td width=\"40%\">Affiliate code</td>\n <td class=\"text-right\">{{student.signed_up_affiliate_code}}</td>\n </tr>\n {% endif %}\n</table>\n\n<p class=\"text-center\"><a data-skip-utm-params=\"true\" href=\"{{student.admin_url}}\" class=\"btn-primary\">More details</a></p>\n",
"is_published": false,
"partial": true
},
"teachable_account_mailer/confirmation_instructions": {
"contents": "<!--\nEmail template: myTeachable Confirmation Instructions\nDescription: This email is sent with a confirmation link when someone signs up to a myTeachable-enabled school.\n -->\n\n<!-- Email Title -->\n<div class=\"header-title\">\n <h1>Welcome, {{ name }}!</h1>\n <p>Glad to have you on board.</p>\n</div>\n\n<!-- Content -->\n<p>Please confirm your account by clicking the button below:</p>\n\n<center><a href=\"{{confirmation_url}}\" class=\"confirmation-url btn-primary\">Confirm Email</a></center>\n\n<p>Once confirmed, you'll be able to log in to {{school.name}} with your new myTeachable account.</p>\n\n<p>{{text.email_receipts.sign_off }}<br>\n{{school.name}}</p>\n\n<!-- Auto-generated JSON-ld compliant JSON for showing action buttons in emails -->\n<script type=\"application/ld+json\">{{ goto_action_json }}</script>\n",
"default_contents": "<!--\nEmail template: myTeachable Confirmation Instructions\nDescription: This email is sent with a confirmation link when someone signs up to a myTeachable-enabled school.\n -->\n\n<!-- Email Title -->\n<div class=\"header-title\">\n <h1>Welcome, {{ name }}!</h1>\n <p>Glad to have you on board.</p>\n</div>\n\n<!-- Content -->\n<p>Please confirm your account by clicking the button below:</p>\n\n<center><a href=\"{{confirmation_url}}\" class=\"confirmation-url btn-primary\">Confirm Email</a></center>\n\n<p>Once confirmed, you'll be able to log in to {{school.name}} with your new myTeachable account.</p>\n\n<p>{{text.email_receipts.sign_off }}<br>\n{{school.name}}</p>\n\n<!-- Auto-generated JSON-ld compliant JSON for showing action buttons in emails -->\n<script type=\"application/ld+json\">{{ goto_action_json }}</script>\n",
"is_published": false,
"partial": false
},
"instructor_mailer/moderate_comment": {
"contents": "<!--\nEmail template: moderate_comment\nDescription: This email is sent to an instructor when a comment is posted that requires moderation.\n -->\n\n<!-- Email Title -->\n<div class=\"header-title\">\n <h1>Comment awaiting moderation</h1>\n <p>A new comment has been posted on <a href=\"{{ school.url }}\">{{school.name}}</a> and requires moderation.</p>\n</div>\n\n<!-- Content -->\n<p class=\"text-center\"><a href=\"{{school.url}}/admin/site/comments\" class=\"btn-primary\">Moderate Comment</a>\n<br>\n<a href=\"{{comment.hotlink_url}}\">View full comment</a>\n</p>\n\n<br>\n\n<hr>\n\n<blockquote>\n {{ comment.body }}\n</blockquote>\n",
"default_contents": "<!--\nEmail template: moderate_comment\nDescription: This email is sent to an instructor when a comment is posted that requires moderation.\n -->\n\n<!-- Email Title -->\n<div class=\"header-title\">\n <h1>Comment awaiting moderation</h1>\n <p>A new comment has been posted on <a href=\"{{ school.url }}\">{{school.name}}</a> and requires moderation.</p>\n</div>\n\n<!-- Content -->\n<p class=\"text-center\"><a href=\"{{school.url}}/admin/site/comments\" class=\"btn-primary\">Moderate Comment</a>\n<br>\n<a href=\"{{comment.hotlink_url}}\">View full comment</a>\n</p>\n\n<br>\n\n<hr>\n\n<blockquote>\n {{ comment.body }}\n</blockquote>\n",
"is_published": false,
"partial": false
},
"instructor_mailer/purchase_notification": {
"contents": "<!--\nEmail template: instructor/purchase_notification\nDescription: This email is sent to instructors when a student enrolls in a course.\n -->\n\n <!-- Auto-generated JSON-ld compliant JSON for showing action buttons in emails -->\n<script type=\"application/ld+json\">{{ goto_action_json }}</script>\n\n<!-- Email Title -->\n<div class=\"header-title\">\n <h1>\n {% if show_student_details %}\n {{ student.name }} just enrolled in {{course.name }}\n {% else %}\n Someone just enrolled in {{course.name }}\n {% endif %}\n </h1>\n</div>\n\n<!-- Content -->\n<h1 class=\"price-jumbo\">{{ sale.receipt_formatted_charge }}</h1>\n\n<table class=\"data-table\" cellpadding=\"0\" cellspacing=\"0\">\n <tr>\n <td width=\"50%\">{{sale.course.name }}</td>\n <td class=\"text-right\">{{sale.receipt_list_price}} </td>\n </tr>\n {% if sale.discounted? %}\n <tr>\n <td width=\"50%\">{{ text.email_receipts.discount }} ({{sale.coupon_code}})</td>\n <td class=\"text-right\">{{sale.receipt_discount_amount }}</td>\n </tr>\n {% endif %}\n {% if sale.taxed? %}\n <tr>\n <td width=\"50%\">{{ text.email_receipts.tax }}</td>\n <td class=\"text-right\">{{ sale.receipt_tax_amount }}</td>\n </tr>\n {% endif %}\n <tr class=\"total\">\n <td width=\"50%\">{{ text.email_receipts.total | translate }}</td>\n <td class=\"text-right\">{{ sale.receipt_formatted_charge }}</td>\n </tr>\n</table>\n{% if transaction_id %}\n <p class=\"text-center\">\n <a href=\"{{ school.url }}/admin/sales/{{ transaction_id }}\" class=\"btn-primary\">More details</a>\n </p>\n{% endif %}\n\n<hr><br>\n\n{% if to.has_name? and show_student_details %}\n {% include \"mailer_partials/student_details\" %}\n{% endif %}\n",
"default_contents": "<!--\nEmail template: instructor/purchase_notification\nDescription: This email is sent to instructors when a student enrolls in a course.\n -->\n\n <!-- Auto-generated JSON-ld compliant JSON for showing action buttons in emails -->\n<script type=\"application/ld+json\">{{ goto_action_json }}</script>\n\n<!-- Email Title -->\n<div class=\"header-title\">\n <h1>\n {% if show_student_details %}\n {{ student.name }} just enrolled in {{course.name }}\n {% else %}\n Someone just enrolled in {{course.name }}\n {% endif %}\n </h1>\n</div>\n\n<!-- Content -->\n<h1 class=\"price-jumbo\">{{ sale.receipt_formatted_charge }}</h1>\n\n<table class=\"data-table\" cellpadding=\"0\" cellspacing=\"0\">\n <tr>\n <td width=\"50%\">{{sale.course.name }}</td>\n <td class=\"text-right\">{{sale.receipt_list_price}} </td>\n </tr>\n {% if sale.discounted? %}\n <tr>\n <td width=\"50%\">{{ text.email_receipts.discount }} ({{sale.coupon_code}})</td>\n <td class=\"text-right\">{{sale.receipt_discount_amount }}</td>\n </tr>\n {% endif %}\n {% if sale.taxed? %}\n <tr>\n <td width=\"50%\">{{ text.email_receipts.tax }}</td>\n <td class=\"text-right\">{{ sale.receipt_tax_amount }}</td>\n </tr>\n {% endif %}\n <tr class=\"total\">\n <td width=\"50%\">{{ text.email_receipts.total | translate }}</td>\n <td class=\"text-right\">{{ sale.receipt_formatted_charge }}</td>\n </tr>\n</table>\n{% if transaction_id %}\n <p class=\"text-center\">\n <a href=\"{{ school.url }}/admin/sales/{{ transaction_id }}\" class=\"btn-primary\">More details</a>\n </p>\n{% endif %}\n\n<hr><br>\n\n{% if to.has_name? and show_student_details %}\n {% include \"mailer_partials/student_details\" %}\n{% endif %}\n",
"is_published": false,
"partial": false
},
"instructor_mailer/subscription_canceled_manually": {
"contents": "<!--\nEmail template: subscription_canceled_manually\nDescription: This email is sent to instructors when a student cancels their subscription manually.\n -->\n\n<!-- Email Title -->\n<div class=\"header-title\">\n <h1>Student cancellation</h1>\n</div>\n\n<!-- Content -->\n<p>We're letting you know that <a href=\"{{student.admin_url}}\">{{ student.name }}</a> canceled their subscription to {{ course.name }}.</p>\n",
"default_contents": "<!--\nEmail template: subscription_canceled_manually\nDescription: This email is sent to instructors when a student cancels their subscription manually.\n -->\n\n<!-- Email Title -->\n<div class=\"header-title\">\n <h1>Student cancellation</h1>\n</div>\n\n<!-- Content -->\n<p>We're letting you know that <a href=\"{{student.admin_url}}\">{{ student.name }}</a> canceled their subscription to {{ course.name }}.</p>\n",
"is_published": false,
"partial": false
},
"instructor_mailer/school_outreach_notification": {
"contents": "<!--\nEmail template: school_outreach_notification\nDescription: This email is sent to school owners when a student wants to send an email notification.\n -->\n\n<!-- Email Title -->\n<div class=\"header-title\">\n <h1>{{student_name}} has a question for you</h1>\n</div>\n<!-- Content -->\n<p>\n {{student_message}}\n</p>\n",
"default_contents": "<!--\nEmail template: school_outreach_notification\nDescription: This email is sent to school owners when a student wants to send an email notification.\n -->\n\n<!-- Email Title -->\n<div class=\"header-title\">\n <h1>{{student_name}} has a question for you</h1>\n</div>\n<!-- Content -->\n<p>\n {{student_message}}\n</p>\n",
"is_published": false,
"partial": false
},
"instructor_mailer/signup_notification": {
"contents": "<!--\nEmail template: signup_notification\nDescription: This email is sent when a new student signs up at a school.\n -->\n\n<!-- Email Title -->\n<div class=\"header-title\">\n <h1>{{ student.name }} just signed up on {{ school.name }}</h1>\n</div>\n\n<!-- Content -->\n{% include \"mailer_partials/student_details\" %}\n",
"default_contents": "<!--\nEmail template: signup_notification\nDescription: This email is sent when a new student signs up at a school.\n -->\n\n<!-- Email Title -->\n<div class=\"header-title\">\n <h1>{{ student.name }} just signed up on {{ school.name }}</h1>\n</div>\n\n<!-- Content -->\n{% include \"mailer_partials/student_details\" %}\n",
"is_published": false,
"partial": false
},
"instructor_mailer/subscription_canceled_nonpayment": {
"contents": "<!--\nEmail template: subscription_canceled_nonpayment\nDescription: This email is sent to instructors when a student's subscription is cancelled due to nonpayment.\n -->\n\n<!-- Email Title -->\n<div class=\"header-title\">\n <h1>Cancelled subscription</h1>\n</div>\n\n<!-- Content -->\n<p><a href=\"{{student.admin_url}}\">{{ student.name }}’s</a> payment plan or subscription to {{ course.name }} has been cancelled due to nonpayment.</p>\n<p>\n {% if sale.skip_dunning_emails %}\n You have disabled automated failed billing notifications, so Teachable has not sent the student a notice about the cancellation.\n {% else %}\n We've sent the student an automated email to notify them about the cancellation.\n {% endif %}\n</p>\n<p>\n We automatically re-try failed attempts on the 3rd, 8th, and 15th day after the original subscription due date. The subscription is cancelled automatically after all of these attempts fail.\n</p>\n",
"default_contents": "<!--\nEmail template: subscription_canceled_nonpayment\nDescription: This email is sent to instructors when a student's subscription is cancelled due to nonpayment.\n -->\n\n<!-- Email Title -->\n<div class=\"header-title\">\n <h1>Cancelled subscription</h1>\n</div>\n\n<!-- Content -->\n<p><a href=\"{{student.admin_url}}\">{{ student.name }}’s</a> payment plan or subscription to {{ course.name }} has been cancelled due to nonpayment.</p>\n<p>\n {% if sale.skip_dunning_emails %}\n You have disabled automated failed billing notifications, so Teachable has not sent the student a notice about the cancellation.\n {% else %}\n We've sent the student an automated email to notify them about the cancellation.\n {% endif %}\n</p>\n<p>\n We automatically re-try failed attempts on the 3rd, 8th, and 15th day after the original subscription due date. The subscription is cancelled automatically after all of these attempts fail.\n</p>\n",
"is_published": false,
"partial": false
},
"instructor_mailer/payout_method_change": {
"contents": "<!--\nEmail template: payout_method_change\nDescription: This email is sent to an instructor when they update their (or the school's) payout method.\n -->\n\n<!-- Email Title -->\n<div class=\"header-title\">\n <h1>You've successfully added a new payout method!</h1>\n</div>\n\n<!-- Content -->\n\n{% for row in data %}\n <p>\n {{ row[0] }}: {{ row[1] }}\n </p>\n{% endfor %}\n\n<p class=\"text-center\">\n <a href=\"{{school.url}}/admin/settings/payments\" class=\"btn-primary\">View your payout information here</a>\n</p>\n",
"default_contents": "<!--\nEmail template: payout_method_change\nDescription: This email is sent to an instructor when they update their (or the school's) payout method.\n -->\n\n<!-- Email Title -->\n<div class=\"header-title\">\n <h1>You've successfully added a new payout method!</h1>\n</div>\n\n<!-- Content -->\n\n{% for row in data %}\n <p>\n {{ row[0] }}: {{ row[1] }}\n </p>\n{% endfor %}\n\n<p class=\"text-center\">\n <a href=\"{{school.url}}/admin/settings/payments\" class=\"btn-primary\">View your payout information here</a>\n</p>\n",
"is_published": false,
"partial": false
},
"instructor_mailer/subscription_billing_error": {
"contents": "<!--\nEmail template: subscription_billing_error\nDescription: This email is sent to instructors when an attempt to bill a student for a course is unsuccessful.\n -->\n\n<!-- Email Title -->\n<div class=\"header-title\">\n <h1>Failed subscription billing attempt</h1>\n</div>\n\n<!-- Content -->\n<p>We tried to bill <a href=\"{{student.admin_url}}\">{{ student.name }}</a> for {{ course.name }}, but the attempt was unsuccessful.</p>\n<p>\n {% if sale.skip_dunning_emails %}\n You have disabled automated failed billing notifications, so Teachable has not sent the student a notice about the failed billing attempt.\n {% else %}\n We've sent the student an automated email to notify them about the failed billing attempt and request that they update their payment method.\n {% endif %}\n</p>\n",
"default_contents": "<!--\nEmail template: subscription_billing_error\nDescription: This email is sent to instructors when an attempt to bill a student for a course is unsuccessful.\n -->\n\n<!-- Email Title -->\n<div class=\"header-title\">\n <h1>Failed subscription billing attempt</h1>\n</div>\n\n<!-- Content -->\n<p>We tried to bill <a href=\"{{student.admin_url}}\">{{ student.name }}</a> for {{ course.name }}, but the attempt was unsuccessful.</p>\n<p>\n {% if sale.skip_dunning_emails %}\n You have disabled automated failed billing notifications, so Teachable has not sent the student a notice about the failed billing attempt.\n {% else %}\n We've sent the student an automated email to notify them about the failed billing attempt and request that they update their payment method.\n {% endif %}\n</p>\n",
"is_published": false,
"partial": false
}
}
}