Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-analytics-dashboard
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-analytics-dashboard
Commits
2c297e86
Commit
2c297e86
authored
Nov 25, 2014
by
Clinton Blackburn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated Course Homepage Copy
parent
3a6015e1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
14 deletions
+13
-14
acceptance_tests/test_course_detail.py
+6
-6
analytics_dashboard/courses/views.py
+7
-8
No files found.
acceptance_tests/test_course_detail.py
View file @
2c297e86
...
...
@@ -37,22 +37,22 @@ class CourseHomeTests(CoursePageTestsMixin, WebAppTest):
'breadcrumbs'
:
[
'Activity'
]
},
{
'title'
:
'
What age
are my students?'
,
'title'
:
'
How old
are my students?'
,
'view'
:
'courses:enrollment_demographics_age'
,
'breadcrumbs'
:
[
'Demographics'
,
'Age'
]
},
{
'title'
:
'What
is the educational background of my students
?'
,
'title'
:
'What
level of education do my students have
?'
,
'view'
:
'courses:enrollment_demographics_education'
,
'breadcrumbs'
:
[
'Demographics'
,
'Education'
]
},
{
'title'
:
'What is the
gender breakdown of my students
?'
,
'title'
:
'What is the
student gender breakdown
?'
,
'view'
:
'courses:enrollment_demographics_gender'
,
'breadcrumbs'
:
[
'Demographics'
,
'Gender'
]
},
{
'title'
:
'Where are my students
from
?'
,
'title'
:
'Where are my students?'
,
'view'
:
'courses:enrollment_geography'
,
'breadcrumbs'
:
[
'Geography'
]
},
...
...
@@ -61,10 +61,10 @@ class CourseHomeTests(CoursePageTestsMixin, WebAppTest):
{
'name'
:
'Engagement'
,
'icon'
:
'fa-bar-chart'
,
'heading'
:
'What are
my students engaging with
in my course?'
,
'heading'
:
'What are
students doing
in my course?'
,
'items'
:
[
{
'title'
:
'How many students are
engaged in
my course?'
,
'title'
:
'How many students are
interacting with
my course?'
,
'view'
:
'courses:engagement_content'
,
'breadcrumbs'
:
[
'Content'
]
}
...
...
analytics_dashboard/courses/views.py
View file @
2c297e86
...
...
@@ -663,7 +663,7 @@ class CourseHome(CourseTemplateView):
]
def
get_table_items
(
self
):
table_items
=
[
return
[
{
'name'
:
_
(
'Enrollment'
),
'icon'
:
'fa-child'
,
...
...
@@ -675,22 +675,22 @@ class CourseHome(CourseTemplateView):
'breadcrumbs'
:
[
_
(
'Activity'
)]
},
{
'title'
:
_
(
'
What age
are my students?'
),
'title'
:
_
(
'
How old
are my students?'
),
'view'
:
'courses:enrollment_demographics_age'
,
'breadcrumbs'
:
[
_
(
'Demographics'
),
_
(
'Age'
)]
},
{
'title'
:
_
(
'What
is the educational background of my students
?'
),
'title'
:
_
(
'What
level of education do my students have
?'
),
'view'
:
'courses:enrollment_demographics_education'
,
'breadcrumbs'
:
[
_
(
'Demographics'
),
_
(
'Education'
)]
},
{
'title'
:
_
(
'What is the
gender breakdown of my students
?'
),
'title'
:
_
(
'What is the
student gender breakdown
?'
),
'view'
:
'courses:enrollment_demographics_gender'
,
'breadcrumbs'
:
[
_
(
'Demographics'
),
_
(
'Gender'
)]
},
{
'title'
:
_
(
'Where are my students
from
?'
),
'title'
:
_
(
'Where are my students?'
),
'view'
:
'courses:enrollment_geography'
,
'breadcrumbs'
:
[
_
(
'Geography'
)]
},
...
...
@@ -699,17 +699,16 @@ class CourseHome(CourseTemplateView):
{
'name'
:
_
(
'Engagement'
),
'icon'
:
'fa-bar-chart'
,
'heading'
:
_
(
'What are
my students engaging with
in my course?'
),
'heading'
:
_
(
'What are
students doing
in my course?'
),
'items'
:
[
{
'title'
:
_
(
'How many students are
engaged in
my course?'
),
'title'
:
_
(
'How many students are
interacting with
my course?'
),
'view'
:
'courses:engagement_content'
,
'breadcrumbs'
:
[
_
(
'Content'
)]
}
]
}
]
return
table_items
def
get_context_data
(
self
,
**
kwargs
):
context
=
super
(
CourseHome
,
self
)
.
get_context_data
(
**
kwargs
)
...
...
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