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
dbad1881
Commit
dbad1881
authored
Apr 27, 2016
by
attiyaishaque
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Screenreader added to the button "Upgrade to Verified" and "View Xseries Details" in LMS Dashboard.
parent
632c38f6
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
1 deletions
+3
-1
common/djangoapps/student/tests/tests.py
+1
-1
lms/templates/dashboard/_dashboard_course_listing.html
+1
-0
lms/templates/dashboard/_dashboard_xseries_info.html
+1
-0
No files found.
common/djangoapps/student/tests/tests.py
View file @
dbad1881
...
...
@@ -1155,5 +1155,5 @@ class DashboardTestXSeriesPrograms(ModuleStoreTestCase, ProgramsApiConfigMixin):
self
.
assertContains
(
response
,
'XSeries Program Course'
,
count
)
self
.
assertContains
(
response
,
'XSeries Program: Interested in more courses in this subject?'
,
count
)
self
.
assertContains
(
response
,
'This course is 1 of 3 courses in the'
,
count
)
self
.
assertContains
(
response
,
self
.
program_name
,
count
)
self
.
assertContains
(
response
,
self
.
program_name
,
count
*
2
)
self
.
assertContains
(
response
,
'View XSeries Details'
,
count
)
lms/templates/dashboard/_dashboard_course_listing.html
View file @
dbad1881
...
...
@@ -358,6 +358,7 @@ from student.helpers import (
<i
class=
"action-upgrade-icon"
></i>
<span
class=
"wrapper-copy"
>
<span
class=
"copy"
id=
"upgrade-to-verified"
>
${_("Upgrade to Verified")}
</span>
<span
class=
"sr"
>
${_(course_overview.display_name_with_default)}
</span>
</span>
</a>
</div>
...
...
lms/templates/dashboard/_dashboard_xseries_info.html
View file @
dbad1881
...
...
@@ -28,6 +28,7 @@
%
>
<a
class=
"btn ${xseries_btn_class}"
href=
"${program_data['program_marketing_url']}"
target=
"_blank"
data-program-id=
"${program_data['program_id']}"
>
<span
class=
"sr"
>
${program_data['display_name']}
</span>
<i
class=
"action-xseries-icon"
aria-hidden=
"true"
></i>
${_("View {category} Details").format(category=display_category)}
</a>
...
...
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