Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
df936837
Commit
df936837
authored
Aug 06, 2015
by
David Baumgold
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #9210 from edx/dont-click-here
Should never just link the word 'here'
parents
c4eed7bb
668c7fdc
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
7 deletions
+11
-7
lms/templates/courseware/info.html
+6
-2
lms/templates/resubscribe.html
+2
-2
lms/templates/unsubscribe.html
+3
-3
No files found.
lms/templates/courseware/info.html
View file @
df936837
...
...
@@ -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
...
...
lms/templates/resubscribe.html
View file @
df936837
...
...
@@ -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>
",)}
...
...
lms/templates/unsubscribe.html
View file @
df936837
...
...
@@ -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])),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment