update caching for eligibility email content and edx-logo

ECOM-1525
This commit is contained in:
zubair-arbi
2015-07-23 18:49:10 +05:00
parent e6cba609d1
commit a2dd5d91f6
4 changed files with 128 additions and 50 deletions

View File

@@ -26,33 +26,32 @@
<tr>
<td class="cn-content">
<p>
${_("Hi {name},").format(name=full_name)}
${_(u"Hi {name},").format(name=full_name)}
</p>
<p>
${_("Congratulations! You are eligible to receive university credit from edX partners! Click {link} to get your credit now.").format(
link=u'<a href="{dashboard_url}">here</a>'.format(
dashboard_url=dashboard_link
))
}
</p>
<p>
${_("Credit from can help you get a jump start on your university degree, finish a degree already started, or fulfill requirements at a different academic institution.")}
</p>
<p>
${_('To get university credit for {course_name}, simply go to your {link} and click the yellow "Get Credit" button. No application, transcript, or grade report is required.').format(
course_name=course_name,
link=u'<a href="{dashboard_url}">edX dashboard</a>'.format(
dashboard_url=dashboard_link
)
${_(u"Congratulations! You are eligible to receive course credit for successfully completing your edX course! Click {link} to get your credit now.").format(
link=u'<a href="{dashboard_url}">here</a>'.format(
dashboard_url=dashboard_link
)
)}
</p>
<p>
${_("We hope you enjoyed the course, and we hope to see you in future edX courses!")}<br/>
${_("The edX team")}
${_(u"Course credit can help you get a jump start on your university degree, finish a degree already started, or fulfill requirements at a different academic institution.")}
</p>
<p>
${_(u'To get course credit, simply go to your {link} and click the <b>Get Credit</b> button. No application, transcript, or grade report is required.').format(
link=u'<a href="{dashboard_url}">edX dashboard</a>'.format(
dashboard_url=dashboard_link
)
)}
</p>
<p>
${_(u"We hope you enjoyed the course, and we hope to see you in future edX courses!")}<br/>
${_(u"The edX team")}
</p>
</td>
</tr>
@@ -62,7 +61,9 @@
<tr>
<td class="cn-footer-content">
<p>
<a href="${credit_course_link}"> ${_("Find more edX courses you can take for university credit.")} </a>
${_(u"For more information on credit at edX, click {link}.").format(
link=u'<a href="https://www.edx.org/gfa">here</a>'
)}
</p>
</td>
</tr>

View File

@@ -1,16 +1,16 @@
<%! from django.utils.translation import ugettext as _ %>
${_("Hi {name},").format(name=full_name)}
${_(u"Hi {name},").format(name=full_name)}
${_("Congratulations! You are eligible to receive university credit from edX and our partners!")}
${_(u"Congratulations! You are eligible to receive course credit for successfully completing your edX course!")}
${_("Click on the link below to get your credit now")}
${_(u"Click on the link below to get your credit now:")}
${dashboard_link}
${_("Credit from can help you get a jump start on your university degree, finish a degree already started, or fulfill requirements at a different academic institution.")}
${_(u"Course credit can help you get a jump start on your university degree, finish a degree already started, or fulfill requirements at a different academic institution.")}
${_('To get university credit for {course_name}, simply go to your edX dashboard and click the yellow "Get Credit" button. No application, transcript, or grade report is required.').format(course_name=course_name)}
${_(u'To get course credit, simply go to your edX dashboard and click the "Get Credit" button. No application, transcript, or grade report is required.')}
${_("We hope you enjoyed the course, and we hope to see you in future edX courses!")}
${_(u"We hope you enjoyed the course, and we hope to see you in future edX courses!")}
${_("The edX team")}
${_(u"The edX team")}