Merge pull request #9210 from edx/dont-click-here

Should never just link the word 'here'
This commit is contained in:
David Baumgold
2015-08-06 10:10:43 -04:00
3 changed files with 11 additions and 7 deletions

View File

@@ -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

View File

@@ -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>",)}

View File

@@ -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])),