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
668c7fdc
Commit
668c7fdc
authored
Aug 05, 2015
by
David Baumgold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Should never just link the word 'here'
parent
4c9b6637
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 @
668c7fdc
...
@@ -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
...
...
lms/templates/resubscribe.html
View file @
668c7fdc
...
@@ -12,10 +12,10 @@ from django.conf import settings
...
@@ -12,10 +12,10 @@ from django.conf import settings
<section
class=
"message"
>
<section
class=
"message"
>
<h1>
${_("Re-subscribe Successful!")}
</h1>
<h1>
${_("Re-subscribe Successful!")}
</h1>
<hr
class=
"horizontal-divider"
>
<hr
class=
"horizontal-divider"
>
<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>
",)}
...
...
lms/templates/unsubscribe.html
View file @
668c7fdc
...
@@ -12,11 +12,11 @@ from django.conf import settings
...
@@ -12,11 +12,11 @@ from django.conf import settings
<section
class=
"message"
>
<section
class=
"message"
>
<h1>
${_("Unsubscribe Successful!")}
</h1>
<h1>
${_("Unsubscribe Successful!")}
</h1>
<hr
class=
"horizontal-divider"
>
<hr
class=
"horizontal-divider"
>
<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])),
...
...
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