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
a1d81ed7
Commit
a1d81ed7
authored
Dec 30, 2015
by
AlasdairSwan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ECOM-3047 update DOM to include the data-attributes that the programs IDA expects
parent
d7bc32f5
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletions
+3
-1
cms/djangoapps/contentstore/views/program.py
+2
-0
cms/templates/program_authoring.html
+1
-1
No files found.
cms/djangoapps/contentstore/views/program.py
View file @
a1d81ed7
"""Programs views for use with Studio."""
from
django.conf
import
settings
from
django.contrib.auth.decorators
import
login_required
from
django.core.urlresolvers
import
reverse
from
django.http
import
Http404
,
JsonResponse
...
...
@@ -27,6 +28,7 @@ class ProgramAuthoringView(View):
return
render_to_response
(
'program_authoring.html'
,
{
'show_programs_header'
:
programs_config
.
is_studio_tab_enabled
,
'authoring_app_config'
:
programs_config
.
authoring_app_config
,
'lms_base_url'
:
'//{}/'
.
format
(
settings
.
LMS_BASE
),
'programs_api_url'
:
programs_config
.
public_api_url
,
'programs_token_url'
:
reverse
(
'programs_id_token'
),
'studio_home_url'
:
reverse
(
'home'
),
...
...
cms/templates/program_authoring.html
View file @
a1d81ed7
...
...
@@ -12,5 +12,5 @@
</
%
block>
<
%
block
name=
"content"
>
<div
class=
"js-program-admin program-app layout-1q3q layout-reversed"
data-api-url=
${programs_api_url}
data-auth-url=
${programs_token_url}
data-home-url=
${studio_home
_url}
></div>
<div
class=
"js-program-admin program-app layout-1q3q layout-reversed"
data-home-url=
${studio_home_url}
data-lms-base-url=
${lms_base_url}
data-programs-api-url=
${programs_api_url}
data-auth-url=
${programs_token
_url}
></div>
</
%
block>
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