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
610a0e0f
Commit
610a0e0f
authored
Oct 11, 2015
by
Sven Marnach
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a class to course number and name in the page header to facilitate hiding them in a theme.
parent
3ac14fe3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
lms/templates/navigation-edx.html
+5
-1
lms/templates/navigation.html
+2
-2
No files found.
lms/templates/navigation-edx.html
View file @
610a0e0f
...
...
@@ -48,7 +48,11 @@ site_status_msg = get_site_status_msg(course_id)
</h1>
% if course and not disable_courseware_header:
<h2
class=
"course-header"
><span
class=
"provider"
>
${course.display_org_with_default | h}:
</span>
${course.display_number_with_default | h} ${course.display_name_with_default}
</h2>
<h2
class=
"course-header"
>
<span
class=
"provider"
>
${course.display_org_with_default | h}:
</span>
<span
class=
"course-number"
>
${course.display_number_with_default | h}
</span>
<span
class=
"course-name"
>
${course.display_name_with_default}
</span>
</h2>
% endif
% if user.is_authenticated():
...
...
lms/templates/navigation.html
View file @
610a0e0f
...
...
@@ -49,7 +49,7 @@ site_status_msg = get_site_status_msg(course_id)
% if course:
<h2
class=
"course-header"
><span
class=
"provider"
>
${course.display_org_with_default | h}:
</span>
${course.display_number_with_default | h}
<span
class=
"course-number"
>
${course.display_number_with_default | h}
</span>
<
%
display_name =
course.display_name_with_default
if
settings
.
FEATURES
.
get
('
CUSTOM_COURSES_EDX
',
False
)
:
...
...
@@ -57,7 +57,7 @@ site_status_msg = get_site_status_msg(course_id)
if
ccx:
display_name =
ccx.display_name
%
>
${display_name}
</h2>
<span
class=
"course-name"
>
${display_name}
</span>
</h2>
% endif
% if user.is_authenticated():
...
...
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