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
7391f359
Commit
7391f359
authored
10 years ago
by
Jason Zhu
Committed by
Jason Zhu
10 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Support unicode ANALYTICS_DASHBOARD_NAME
I open this pull to support unicode ANALYTICS_DASHBOARD_NAME
parent
f561e79a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
lms/djangoapps/instructor/views/instructor_dashboard.py
+2
-2
No files found.
lms/djangoapps/instructor/views/instructor_dashboard.py
View file @
7391f359
...
...
@@ -364,8 +364,8 @@ def _section_send_email(course, access):
def
_get_dashboard_link
(
course_key
):
""" Construct a URL to the external analytics dashboard """
analytics_dashboard_url
=
'{0}/courses/{1}'
.
format
(
settings
.
ANALYTICS_DASHBOARD_URL
,
unicode
(
course_key
))
link
=
"<a href=
\"
{0}
\"
target=
\"
_blank
\"
>{1}</a>"
.
format
(
analytics_dashboard_url
,
settings
.
ANALYTICS_DASHBOARD_NAME
)
link
=
u
"<a href=
\"
{0}
\"
target=
\"
_blank
\"
>{1}</a>"
.
format
(
analytics_dashboard_url
,
settings
.
ANALYTICS_DASHBOARD_NAME
)
return
link
...
...
This diff is collapsed.
Click to expand it.
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