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
de7e1ead
Commit
de7e1ead
authored
Sep 06, 2017
by
Diana Huang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clicking the logo brings the user back to the dashboard.
parent
d26694fb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
lms/templates/navigation/navbar-logo-header.html
+2
-1
themes/edx.org/lms/templates/header.html
+1
-1
No files found.
lms/templates/navigation/navbar-logo-header.html
View file @
de7e1ead
...
@@ -4,6 +4,7 @@
...
@@ -4,6 +4,7 @@
<
%
namespace
name=
'static'
file=
'../static_content.html'
/>
<
%
namespace
name=
'static'
file=
'../static_content.html'
/>
<
%!
<
%!
from
django
.
core
.
urlresolvers
import
reverse
from
django
.
utils
.
translation
import
ugettext
as
_
from
django
.
utils
.
translation
import
ugettext
as
_
from
lms
.
djangoapps
.
ccx
.
overrides
import
get_current_ccx
from
lms
.
djangoapps
.
ccx
.
overrides
import
get_current_ccx
...
@@ -13,7 +14,7 @@ from branding import api as branding_api
...
@@ -13,7 +14,7 @@ from branding import api as branding_api
<h1
class=
"hd logo-header"
>
<h1
class=
"hd logo-header"
>
<div
class=
"logo"
>
<div
class=
"logo"
>
<a
href=
"${
marketing_link('ROOT
')}"
>
<a
href=
"${
reverse('dashboard
')}"
>
<
%
block
name=
"navigation_logo"
>
<
%
block
name=
"navigation_logo"
>
<img
src=
"${branding_api.get_logo_url(is_secure)}"
alt=
"${_("
{
platform_name
}
Home
Page
").
format
(
platform_name=
static.get_platform_name())}"/
>
<img
src=
"${branding_api.get_logo_url(is_secure)}"
alt=
"${_("
{
platform_name
}
Home
Page
").
format
(
platform_name=
static.get_platform_name())}"/
>
</
%
block>
</
%
block>
...
...
themes/edx.org/lms/templates/header.html
View file @
de7e1ead
...
@@ -56,7 +56,7 @@ site_status_msg = get_site_status_msg(course_id)
...
@@ -56,7 +56,7 @@ site_status_msg = get_site_status_msg(course_id)
<nav
class=
"navbar navbar-expand-lg navbar-light"
aria-label=
"${_('Main')}"
>
<nav
class=
"navbar navbar-expand-lg navbar-light"
aria-label=
"${_('Main')}"
>
<h1
class=
"hd logo-header"
>
<h1
class=
"hd logo-header"
>
<div
class=
"logo"
>
<div
class=
"logo"
>
<a
class=
"navbar-brand"
href=
"${
marketing_link('ROOT
')}"
itemprop=
"url"
>
<a
class=
"navbar-brand"
href=
"${
reverse('dashboard
')}"
itemprop=
"url"
>
<img
src=
"${static.url("
images
/
logo
.
png
")}"
alt=
"${_("
{
platform_name
}
Home
Page
").
format
(
platform_name=
static.get_platform_name())}"
itemprop=
"logo"
/>
<img
src=
"${static.url("
images
/
logo
.
png
")}"
alt=
"${_("
{
platform_name
}
Home
Page
").
format
(
platform_name=
static.get_platform_name())}"
itemprop=
"logo"
/>
</a>
</a>
</div>
</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