Commit 267968b0 by Diana Huang Committed by GitHub

Merge pull request #15542 from edx/diana/update-naming

Update names to be more consistent.
parents fdaf1b4c fc973758
<div class="course-view container" id="course-container"> <div class="course-view container" id="course-container">
<header class="page-header has-secondary"> <header class="page-header has-secondary">
<div class="page-header-main"> <div class="page-header-main">
<nav aria-label="My Bookmarks" class="sr-is-focusable" tabindex="-1"> <nav aria-label="Bookmarks" class="sr-is-focusable" tabindex="-1">
<div class="has-breadcrumbs"><div class="breadcrumbs"> <div class="has-breadcrumbs"><div class="breadcrumbs">
<span class="nav-item"> <span class="nav-item">
<a href="/courses/course-v1:test-course/course/">Course</a> <a href="/courses/course-v1:test-course/course/">Course</a>
</span> </span>
<span class="icon fa fa-angle-right" aria-hidden="true"></span> <span class="icon fa fa-angle-right" aria-hidden="true"></span>
<span class="nav-item">My Bookmarks</span> <span class="nav-item">Bookmarks</span>
</div> </div>
</div> </div>
</nav> </nav>
......
...@@ -40,14 +40,14 @@ ${HTML(bookmarks_fragment.foot_html())} ...@@ -40,14 +40,14 @@ ${HTML(bookmarks_fragment.foot_html())}
<header class="page-header has-secondary"> <header class="page-header has-secondary">
## Breadcrumb navigation ## Breadcrumb navigation
<div class="page-header-main"> <div class="page-header-main">
<nav aria-label="${_('My Bookmarks')}" class="sr-is-focusable" tabindex="-1"> <nav aria-label="${_('Bookmarks')}" class="sr-is-focusable" tabindex="-1">
<div class="has-breadcrumbs"> <div class="has-breadcrumbs">
<div class="breadcrumbs"> <div class="breadcrumbs">
<span class="nav-item"> <span class="nav-item">
<a href="${course_url}">${course_home_page_title(course)}</a> <a href="${course_url}">${course_home_page_title(course)}</a>
</span> </span>
<span class="icon fa fa-angle-right" aria-hidden="true"></span> <span class="icon fa fa-angle-right" aria-hidden="true"></span>
<span class="nav-item">${_('My Bookmarks')}</span> <span class="nav-item">${_('Bookmarks')}</span>
</div> </div>
</div> </div>
</nav> </nav>
......
...@@ -16,14 +16,14 @@ from openedx.features.course_experience import course_home_page_title ...@@ -16,14 +16,14 @@ from openedx.features.course_experience import course_home_page_title
<header class="page-header has-secondary"> <header class="page-header has-secondary">
## Breadcrumb navigation ## Breadcrumb navigation
<div class="page-header-main"> <div class="page-header-main">
<nav aria-label="${_('Course Reviews')}" class="sr-is-focusable" tabindex="-1"> <nav aria-label="${_('Reviews')}" class="sr-is-focusable" tabindex="-1">
<div class="has-breadcrumbs"> <div class="has-breadcrumbs">
<div class="breadcrumbs"> <div class="breadcrumbs">
<span class="nav-item"> <span class="nav-item">
<a href="${course_url}">${course_home_page_title(course)}</a> <a href="${course_url}">${course_home_page_title(course)}</a>
</span> </span>
<span class="icon fa fa-angle-right" aria-hidden="true"></span> <span class="icon fa fa-angle-right" aria-hidden="true"></span>
<span class="nav-item">${_('Course Reviews')}</span> <span class="nav-item">${_('Reviews')}</span>
</div> </div>
</div> </div>
</nav> </nav>
......
...@@ -15,14 +15,14 @@ from openedx.features.course_experience import course_home_page_title ...@@ -15,14 +15,14 @@ from openedx.features.course_experience import course_home_page_title
<header class="page-header has-secondary"> <header class="page-header has-secondary">
## Breadcrumb navigation ## Breadcrumb navigation
<div class="page-header-main"> <div class="page-header-main">
<nav aria-label="${_('Course Updates')}" class="sr-is-focusable" tabindex="-1"> <nav aria-label="${_('Updates')}" class="sr-is-focusable" tabindex="-1">
<div class="has-breadcrumbs"> <div class="has-breadcrumbs">
<div class="breadcrumbs"> <div class="breadcrumbs">
<span class="nav-item"> <span class="nav-item">
<a href="${course_url}">${course_home_page_title(course)}</a> <a href="${course_url}">${course_home_page_title(course)}</a>
</span> </span>
<span class="icon fa fa-angle-right" aria-hidden="true"></span> <span class="icon fa fa-angle-right" aria-hidden="true"></span>
<span class="nav-item">${_('Course Updates')}</span> <span class="nav-item">${_('Updates')}</span>
</div> </div>
</div> </div>
</nav> </nav>
......
<div class="course-view container" id="course-container"> <div class="course-view container" id="course-container">
<header class="page-header has-secondary"> <header class="page-header has-secondary">
<div class="page-header-main"> <div class="page-header-main">
<nav aria-label="My Bookmarks" class="sr-is-focusable" tabindex="-1"> <nav aria-label="Search Results" class="sr-is-focusable" tabindex="-1">
<div class="has-breadcrumbs"> <div class="has-breadcrumbs">
<div class="breadcrumbs"> <div class="breadcrumbs">
<span class="nav-item"> <span class="nav-item">
......
...@@ -22,7 +22,7 @@ from openedx.features.course_experience import course_home_page_title ...@@ -22,7 +22,7 @@ from openedx.features.course_experience import course_home_page_title
<div class="course-view container" id="course-container"> <div class="course-view container" id="course-container">
<header class="page-header has-secondary"> <header class="page-header has-secondary">
<div class="page-header-main"> <div class="page-header-main">
<nav aria-label="${_('My Bookmarks')}" class="sr-is-focusable" tabindex="-1"> <nav aria-label="${_('Search Results')}" class="sr-is-focusable" tabindex="-1">
<div class="has-breadcrumbs"> <div class="has-breadcrumbs">
<div class="breadcrumbs"> <div class="breadcrumbs">
<span class="nav-item"> <span class="nav-item">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment