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
cc98111d
Commit
cc98111d
authored
Apr 26, 2017
by
Andy Armstrong
Committed by
GitHub
Apr 26, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #14980 from edx/andya/unified-course-title
Update unified course home page's title
parents
da13a7db
3e15661d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
14 deletions
+20
-14
openedx/features/course_experience/templates/course_experience/course-home-fragment.html
+20
-14
No files found.
openedx/features/course_experience/templates/course_experience/course-home-fragment.html
View file @
cc98111d
...
...
@@ -23,24 +23,16 @@ from openedx.features.course_experience import UNIFIED_COURSE_EXPERIENCE_FLAG
<header
class=
"page-header has-secondary"
>
<div
class=
"page-header-main"
>
<nav
aria-label=
"${_('Course Outline')}"
class=
"sr-is-focusable"
tabindex=
"-1"
>
% if waffle.flag_is_active(request, UNIFIED_COURSE_EXPERIENCE_FLAG):
<h2
class=
"hd hd-3 page-title"
>
${_("{course_name}").format(org=course.display_org_with_default, course_name=course.display_name_with_default)}
</h2>
% else:
<h2
class=
"hd hd-2 page-title"
>
${_('Course Outline')}
</h2>
% endif
</nav>
</div>
<div
class=
"page-header-secondary"
>
<div
class=
"form-actions"
>
% if not waffle.flag_is_active(request, UNIFIED_COURSE_EXPERIENCE_FLAG):
<a
class=
"btn action-show-bookmarks"
href=
"${reverse('openedx.course_bookmarks.home', args=[course.id])}"
>
${_("Bookmarks")}
</a>
% endif
<a
class=
"btn btn-brand action-resume-course"
href=
"${reverse('courseware', kwargs={'course_id': unicode(course.id.to_deprecated_string())})}"
>
% if has_visited_course:
${_("Resume Course")}
% else:
${_("Start Course")}
% endif
</a>
</div>
% if settings.FEATURES.get('ENABLE_COURSEWARE_SEARCH'):
<div
class=
"page-header-search"
>
<form
class=
"search-form"
role=
"search"
>
...
...
@@ -56,6 +48,20 @@ from openedx.features.course_experience import UNIFIED_COURSE_EXPERIENCE_FLAG
</form>
</div>
% endif
<div
class=
"form-actions"
>
% if not waffle.flag_is_active(request, UNIFIED_COURSE_EXPERIENCE_FLAG):
<a
class=
"btn action-show-bookmarks"
href=
"${reverse('openedx.course_bookmarks.home', args=[course.id])}"
>
${_("Bookmarks")}
</a>
% endif
<a
class=
"btn btn-brand action-resume-course"
href=
"${reverse('courseware', kwargs={'course_id': unicode(course.id.to_deprecated_string())})}"
>
% if has_visited_course:
${_("Resume Course")}
% else:
${_("Start Course")}
% endif
</a>
</div>
</div>
</header>
<div
class=
"page-content"
>
...
...
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