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
c88e9140
Commit
c88e9140
authored
Sep 26, 2014
by
Stephen Sanchez
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #5398 from edx/sanchez/fix_about_page_header
Allowing new styles on White Label about pages.
parents
4d56f62d
3fd3bd4e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
lms/djangoapps/courseware/views.py
+3
-0
lms/templates/navigation.html
+2
-2
No files found.
lms/djangoapps/courseware/views.py
View file @
c88e9140
...
...
@@ -748,6 +748,9 @@ def course_about(request, course_id):
'invitation_only'
:
invitation_only
,
'active_reg_button'
:
active_reg_button
,
'is_shib_course'
:
is_shib_course
,
# We do not want to display the internal courseware header, which is used when the course is found in the
# context. This value is therefor explicitly set to render the appropriate header.
'disable_courseware_header'
:
True
,
})
...
...
lms/templates/navigation.html
View file @
c88e9140
...
...
@@ -36,7 +36,7 @@ site_status_msg = get_site_status_msg(course_id)
% endif
</
%
block>
<header
class=
"${"
global
slim
"
if
course
else
"
global-new
"}"
aria-label=
"Main"
role=
"banner"
>
<header
class=
"${"
global
slim
"
if
course
and
not
disable_courseware_header
else
"
global-new
"}"
aria-label=
"Main"
role=
"banner"
>
<nav
aria-label=
"Main"
>
<h1
class=
"logo"
itemscope=
""
itemtype=
"http://schema.org/Organization"
>
<a
href=
"${marketing_link('ROOT')}"
title=
"Home page"
itemprop=
"url"
>
...
...
@@ -46,7 +46,7 @@ site_status_msg = get_site_status_msg(course_id)
</a>
</h1>
% if course:
% if course
and not disable_courseware_header
:
<h2><span
class=
"provider"
>
${course.display_org_with_default | h}:
</span>
${course.display_number_with_default | h} ${course.display_name_with_default}
</h2>
% endif
...
...
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