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 ...@@ -20,7 +20,7 @@ from courseware.courses import get_course_info_section
<h2 class="title">${_("You are not enrolled yet")}</h2> <h2 class="title">${_("You are not enrolled yet")}</h2>
<div class="copy"> <div class="copy">
<p class='enroll-message'> <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_start=u"<a href={}>".format(url_to_enroll),
link_end=u"</a>" link_end=u"</a>"
)} )}
...@@ -49,7 +49,11 @@ $(document).ready(function(){ ...@@ -49,7 +49,11 @@ $(document).ready(function(){
<section class="updates"> <section class="updates">
% if studio_url is not None and masquerade and masquerade.role == 'staff': % if studio_url is not None and masquerade and masquerade.role == 'staff':
<div class="wrap-instructor-info studio-view"> <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> </div>
% endif % endif
......
...@@ -15,7 +15,7 @@ from django.conf import settings ...@@ -15,7 +15,7 @@ from django.conf import settings
<p> <p>
${_("You have re-enabled forum notification emails from {platform_name}. " ${_("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, platform_name=settings.PLATFORM_NAME,
dashboard_link_start="<a href='{}'>".format(reverse('dashboard')), dashboard_link_start="<a href='{}'>".format(reverse('dashboard')),
link_end="</a>",)} link_end="</a>",)}
......
...@@ -15,8 +15,8 @@ from django.conf import settings ...@@ -15,8 +15,8 @@ from django.conf import settings
<p> <p>
${_("You will no longer receive forum notification emails from {platform_name}. " ${_("You will no longer receive forum notification emails from {platform_name}. "
"Click {dashboard_link_start}here{link_end} to return to your dashboard. " "You may {dashboard_link_start}return to your dashboard{link_end}. "
"If you did not mean to do this, click {undo_link_start}here{link_end} to re-subscribe.").format( "If you did not mean to do this, {undo_link_start}you can re-subscribe{link_end}.").format(
platform_name=settings.PLATFORM_NAME, platform_name=settings.PLATFORM_NAME,
dashboard_link_start="<a href='{}'>".format(reverse('dashboard')), dashboard_link_start="<a href='{}'>".format(reverse('dashboard')),
undo_link_start="<a id='resub_link' href='{}'>".format(reverse('resubscribe_forum_update', args=[token])), 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