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
c35ebb76
Commit
c35ebb76
authored
Jun 10, 2015
by
Frances Botsford
Committed by
marcotuts
Jul 10, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pr feedback
parent
32df8db7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
8 deletions
+8
-8
common/test/acceptance/pages/lms/dashboard.py
+6
-6
lms/templates/navigation-edx.html
+1
-1
lms/templates/navigation.html
+1
-1
No files found.
common/test/acceptance/pages/lms/dashboard.py
View file @
c35ebb76
...
@@ -174,14 +174,14 @@ class DashboardPage(PageObject):
...
@@ -174,14 +174,14 @@ class DashboardPage(PageObject):
"""
"""
return
self
.
q
(
css
=
'.dropdown-menu li a'
)
.
text
return
self
.
q
(
css
=
'.dropdown-menu li a'
)
.
text
def
click_my_profile_link
(
self
):
"""
Click on `Profile` link.
"""
self
.
q
(
css
=
'.dropdown-menu li a'
)
.
nth
(
1
)
.
click
()
def
click_account_settings_link
(
self
):
def
click_account_settings_link
(
self
):
"""
"""
Click on `Account` link.
Click on `Account` link.
"""
"""
self
.
q
(
css
=
'.dropdown-menu li a'
)
.
nth
(
1
)
.
click
()
def
click_my_profile_link
(
self
):
"""
Click on `Profile` link.
"""
self
.
q
(
css
=
'.dropdown-menu li a'
)
.
nth
(
2
)
.
click
()
self
.
q
(
css
=
'.dropdown-menu li a'
)
.
nth
(
2
)
.
click
()
lms/templates/navigation-edx.html
View file @
c35ebb76
...
@@ -82,8 +82,8 @@ site_status_msg = get_site_status_msg(course_id)
...
@@ -82,8 +82,8 @@ site_status_msg = get_site_status_msg(course_id)
<ul
class=
"dropdown-menu"
aria-label=
"More Options"
role=
"menu"
>
<ul
class=
"dropdown-menu"
aria-label=
"More Options"
role=
"menu"
>
<
%
block
name=
"navigation_dropdown_menu_links"
>
<
%
block
name=
"navigation_dropdown_menu_links"
>
<li><a
href=
"${reverse('dashboard')}"
>
${_("Dashboard")}
</a></li>
<li><a
href=
"${reverse('dashboard')}"
>
${_("Dashboard")}
</a></li>
<li><a
href=
"${reverse('account_settings')}"
>
${_("Account")}
</a></li>
<li><a
href=
"${reverse('learner_profile', kwargs={'username': user.username})}"
>
${_("Profile")}
</a></li>
<li><a
href=
"${reverse('learner_profile', kwargs={'username': user.username})}"
>
${_("Profile")}
</a></li>
<li><a
href=
"${reverse('account_settings')}"
>
${_("Account")}
</a></li>
</
%
block>
</
%
block>
<li><a
href=
"${reverse('logout')}"
role=
"menuitem"
>
${_("Sign Out")}
</a></li>
<li><a
href=
"${reverse('logout')}"
role=
"menuitem"
>
${_("Sign Out")}
</a></li>
</ul>
</ul>
...
...
lms/templates/navigation.html
View file @
c35ebb76
...
@@ -90,8 +90,8 @@ site_status_msg = get_site_status_msg(course_id)
...
@@ -90,8 +90,8 @@ site_status_msg = get_site_status_msg(course_id)
<ul
class=
"dropdown-menu"
aria-label=
"More Options"
role=
"menu"
>
<ul
class=
"dropdown-menu"
aria-label=
"More Options"
role=
"menu"
>
<
%
block
name=
"navigation_dropdown_menu_links"
>
<
%
block
name=
"navigation_dropdown_menu_links"
>
<li><a
href=
"${reverse('dashboard')}"
>
${_("Dashboard")}
</a></li>
<li><a
href=
"${reverse('dashboard')}"
>
${_("Dashboard")}
</a></li>
<li><a
href=
"${reverse('account_settings')}"
>
${_("Account")}
</a></li>
<li><a
href=
"${reverse('learner_profile', kwargs={'username': user.username})}"
>
${_("Profile")}
</a></li>
<li><a
href=
"${reverse('learner_profile', kwargs={'username': user.username})}"
>
${_("Profile")}
</a></li>
<li><a
href=
"${reverse('account_settings')}"
>
${_("Account")}
</a></li>
</
%
block>
</
%
block>
<li><a
href=
"${reverse('logout')}"
role=
"menuitem"
>
${_("Sign Out")}
</a></li>
<li><a
href=
"${reverse('logout')}"
role=
"menuitem"
>
${_("Sign Out")}
</a></li>
</ul>
</ul>
...
...
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