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
68ebdb19
Commit
68ebdb19
authored
Mar 21, 2017
by
Ibrahim Ahmed
Committed by
GitHub
Mar 21, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #14685 from edx/ibrahimahmed443/WL-1002-updates-to-dashboard
update dashbord navigation to include programs
parents
b10083cb
17d79eb9
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
17 additions
and
4 deletions
+17
-4
lms/templates/dashboard.html
+1
-4
lms/templates/learner_dashboard/_dashboard_navigation_courses.html
+10
-0
lms/templates/learner_dashboard/_dashboard_navigation_programs.html
+2
-0
lms/templates/learner_dashboard/program_details.html
+2
-0
lms/templates/learner_dashboard/programs.html
+2
-0
No files found.
lms/templates/dashboard.html
View file @
68ebdb19
...
...
@@ -78,10 +78,7 @@ from openedx.core.djangolib.markup import HTML, Text
<main
id=
"main"
aria-label=
"Content"
tabindex=
"-1"
>
<div
class=
"container dashboard"
id=
"dashboard-main"
>
<div
class=
"my-courses"
id=
"my-courses"
>
<header
class=
"wrapper-header-courses"
>
<h2
class=
"header-courses"
>
${_("My Courses")}
</h2>
</header>
<
%
include
file=
"learner_dashboard/_dashboard_navigation_courses.html"
/>
% if len(course_enrollments) > 0:
<ul
class=
"listing-courses"
>
...
...
lms/templates/learner_dashboard/_dashboard_navigation_courses.html
0 → 100644
View file @
68ebdb19
<
%
page
expression_filter=
"h"
/>
<
%!
from
django
.
utils
.
translation
import
ugettext
as
_
%
>
<header
class=
"wrapper-header-courses"
>
<h2
class=
"header-courses"
>
${_("My Courses")}
</h2>
</header>
<h2
class=
"hd hd-2 sr"
id=
"courses-tab"
>
${_('My Courses')}
</h2>
lms/templates/learner_dashboard/_dashboard_navigation_programs.html
0 → 100644
View file @
68ebdb19
<
%
page
expression_filter=
"h"
/>
## This file is left intentionally blank and can be overridden using theming
lms/templates/learner_dashboard/program_details.html
View file @
68ebdb19
...
...
@@ -24,6 +24,8 @@ ProgramDetailsFactory({
<
%
block
name=
"pagetitle"
>
${_("Program Details")}
</
%
block>
<
%
block
name=
"bodyclass"
>
program-details
</
%
block>
<
%
include
file=
"_dashboard_navigation_programs.html"
/>
<main
id=
"main"
aria-label=
"Content"
tabindex=
"-1"
>
<div
class=
"js-program-details-wrapper"
></div>
</main>
lms/templates/learner_dashboard/programs.html
View file @
68ebdb19
...
...
@@ -26,6 +26,8 @@ ProgramListFactory({
<
%
block
name=
"pagetitle"
>
${_("Programs")}
</
%
block>
<
%
include
file=
"_dashboard_navigation_programs.html"
/>
<main
id=
"main"
aria-label=
"Content"
tabindex=
"-1"
>
<div
class=
"program-list-wrapper grid-container"
>
<div
class=
"program-cards-container col"
></div>
...
...
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