Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
edx-platform-release
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hsin-Yu Chien
edx-platform-release
Commits
94f050c4
Commit
94f050c4
authored
10 years ago
by
cahrens
Browse files
Options
Downloads
Patches
Plain Diff
Show the menus at the top of the page.
parent
074c4b66
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cms/djangoapps/contentstore/views/component.py
+1
-0
1 addition, 0 deletions
cms/djangoapps/contentstore/views/component.py
with
1 addition
and
0 deletions
cms/djangoapps/contentstore/views/component.py
+
1
−
0
View file @
94f050c4
...
...
@@ -249,6 +249,7 @@ def container_handler(request, usage_key_string):
unit_publish_state
=
compute_publish_state
(
unit
)
if
unit
else
None
return
render_to_response
(
'
container.html
'
,
{
'
context_course
'
:
course
,
# Needed only for display of menus at top of page.
'
xblock
'
:
xblock
,
'
unit_publish_state
'
:
unit_publish_state
,
'
xblock_locator
'
:
usage_key
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment