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
ab067046
Commit
ab067046
authored
Jul 30, 2014
by
Renzo Lucioni
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fully rename instructor dashboard analytics app
parent
3599e2ee
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
7 additions
and
11 deletions
+7
-11
lms/djangoapps/instructor/views/instructor_dashboard.py
+1
-1
lms/static/coffee/src/instructor_dashboard/instructor_analytics.coffee
+2
-2
lms/static/coffee/src/instructor_dashboard/instructor_dashboard.coffee
+2
-2
lms/static/coffee/src/instructor_dashboard_tracking.coffee
+0
-5
lms/templates/instructor/instructor_dashboard_2/instructor_analytics.html
+0
-0
lms/templates/widgets/segment-io.html
+2
-1
No files found.
lms/djangoapps/instructor/views/instructor_dashboard.py
View file @
ab067046
...
...
@@ -285,7 +285,7 @@ def _section_send_email(course_key, access, course):
def
_section_analytics
(
course_key
,
access
):
""" Provide data for the corresponding dashboard section """
section_data
=
{
'section_key'
:
'analytics'
,
'section_key'
:
'
instructor_
analytics'
,
'section_display_name'
:
_
(
'Analytics'
),
'access'
:
access
,
'get_distribution_url'
:
reverse
(
'get_distribution'
,
kwargs
=
{
'course_id'
:
course_key
.
to_deprecated_string
()}),
...
...
lms/static/coffee/src/instructor_dashboard/analytics.coffee
→
lms/static/coffee/src/instructor_dashboard/
instructor_
analytics.coffee
View file @
ab067046
...
...
@@ -204,7 +204,7 @@ class GradeDistributionDisplay
# Analytics Section
class
Analytics
class
Instructor
Analytics
constructor
:
(
@
$section
)
->
@
$section
.
data
'wrapper'
,
@
...
...
@@ -239,4 +239,4 @@ class Analytics
_
.
defaults
window
,
InstructorDashboard
:
{}
_
.
defaults
window
.
InstructorDashboard
,
sections
:
{}
_
.
defaults
window
.
InstructorDashboard
.
sections
,
Analytics
:
Analytics
InstructorAnalytics
:
Instructor
Analytics
lms/static/coffee/src/instructor_dashboard/instructor_dashboard.coffee
View file @
ab067046
...
...
@@ -168,8 +168,8 @@ setup_instructor_dashboard_sections = (idash_content) ->
constructor
:
window
.
InstructorDashboard
.
sections
.
Email
$element
:
idash_content
.
find
".
#{
CSS_IDASH_SECTION
}
#send_email"
,
constructor
:
window
.
InstructorDashboard
.
sections
.
Analytics
$element
:
idash_content
.
find
".
#{
CSS_IDASH_SECTION
}
#analytics"
constructor
:
window
.
InstructorDashboard
.
sections
.
Instructor
Analytics
$element
:
idash_content
.
find
".
#{
CSS_IDASH_SECTION
}
#
instructor_
analytics"
,
constructor
:
window
.
InstructorDashboard
.
sections
.
Metrics
$element
:
idash_content
.
find
".
#{
CSS_IDASH_SECTION
}
#metrics"
...
...
lms/static/coffee/src/instructor_dashboard_tracking.coffee
deleted
100644 → 0
View file @
3599e2ee
if
$
(
'.instructor-dashboard-wrapper'
).
length
==
1
analytics
.
track
"edx.bi.course.legacy_instructor_dashboard.loaded"
,
category
:
"courseware"
location
:
window
.
location
.
pathname
dashboard_page
:
$
(
'.navbar .selectedmode'
).
text
()
lms/templates/instructor/instructor_dashboard_2/analytics.html
→
lms/templates/instructor/instructor_dashboard_2/
instructor_
analytics.html
View file @
ab067046
File moved
lms/templates/widgets/segment-io.html
View file @
ab067046
...
...
@@ -47,7 +47,8 @@
}
else
{
// This event serves as a catch-all, firing when any other page is viewed
analytics
.
track
(
"edx.bi.page.other.viewed"
,
{
category
:
"pageview"
category
:
"pageview"
,
url
:
location
.
host
+
location
.
pathname
+
location
.
search
});
}
...
...
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