Commit 668c7fdc by David Baumgold

Should never just link the word 'here'

parent 4c9b6637
......@@ -20,7 +20,7 @@ from courseware.courses import get_course_info_section
<h2 class="title">${_("You are not enrolled yet")}</h2>
<div class="copy">
<p class='enroll-message'>
${_(u"You are not currently enrolled in this course. Sign up for it {link_start}here{link_end}!").format(
${_(u"You are not currently enrolled in this course. {link_start}Sign up now!{link_end}").format(
link_start=u"<a href={}>".format(url_to_enroll),
link_end=u"</a>"
)}
......@@ -49,7 +49,11 @@ $(document).ready(function(){
<section class="updates">
% if studio_url is not None and masquerade and masquerade.role == 'staff':
<div class="wrap-instructor-info studio-view">
<a class="instructor-info-action" href="${studio_url}">${_("View Updates in Studio")}</a>
<a class="instructor-info-action" href="${studio_url}">
${_("View Updates in {studio_name}").format(
studio_name=settings.STUDIO_SHORT_NAME,
)}
</a>
</div>
% endif
......
......@@ -12,10 +12,10 @@ from django.conf import settings
<section class="message">
<h1>${_("Re-subscribe Successful!")}</h1>
<hr class="horizontal-divider">
<p>
${_("You have re-enabled forum notification emails from {platform_name}. "
"Click {dashboard_link_start}here{link_end} to return to your dashboard. ").format(
"You may {dashboard_link_start}return to your dashboard{link_end}.").format(
platform_name=settings.PLATFORM_NAME,
dashboard_link_start="<a href='{}'>".format(reverse('dashboard')),
link_end="</a>",)}
......
......@@ -12,11 +12,11 @@ from django.conf import settings
<section class="message">
<h1>${_("Unsubscribe Successful!")}</h1>
<hr class="horizontal-divider">
<p>
${_("You will no longer receive forum notification emails from {platform_name}. "
"Click {dashboard_link_start}here{link_end} to return to your dashboard. "
"If you did not mean to do this, click {undo_link_start}here{link_end} to re-subscribe.").format(
"You may {dashboard_link_start}return to your dashboard{link_end}. "
"If you did not mean to do this, {undo_link_start}you can re-subscribe{link_end}.").format(
platform_name=settings.PLATFORM_NAME,
dashboard_link_start="<a href='{}'>".format(reverse('dashboard')),
undo_link_start="<a id='resub_link' href='{}'>".format(reverse('resubscribe_forum_update', args=[token])),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment