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
6cd33d68
Unverified
Commit
6cd33d68
authored
Nov 03, 2017
by
Douglas Hall
Committed by
GitHub
Nov 03, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #16448 from edx/douglashall/ENT-749
Fixed enterprise tagline styling.
parents
e63cf7ff
174302c1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
27 additions
and
28 deletions
+27
-28
lms/static/sass/views/_login-register.scss
+3
-4
lms/templates/header/brand.html
+8
-8
lms/templates/header/navbar-logo-header.html
+8
-8
lms/templates/navigation/navbar-logo-header.html
+8
-8
No files found.
lms/static/sass/views/_login-register.scss
View file @
6cd33d68
...
...
@@ -37,14 +37,13 @@
font-size
:
14px
;
text-align
:
left
;
display
:
inline-block
;
vertical-align
:
middle
;
line-height
:
normal
;
margin-left
:
-3
0px
;
padding
:
15px
0
0
1
0px
;
}
@
media
(
max-width
:
$bp-screen-sm
)
{
@
include
media-breakpoint-down
(
md
)
{
.enterprise-tagline
{
width
:
200px
display
:
none
;
}
}
...
...
lms/templates/header/brand.html
View file @
6cd33d68
...
...
@@ -19,14 +19,6 @@ from branding import api as branding_api
<img
class=
"logo-image"
src=
"${static.url("
images
/
logo
.
png
")}"
alt=
"${_("
{
platform_name
}
Home
Page
").
format
(
platform_name=
static.get_platform_name())}"
itemprop=
"logo"
/>
</a>
</div>
% if enable_enterprise_sidebar:
<span
class=
"enterprise-tagline"
>
<
%
tagline =
configuration_helpers.get_value('ENTERPRISE_TAGLINE',
settings
.
ENTERPRISE_TAGLINE
)
%
>
% if tagline:
${tagline}
% endif
</span>
% endif
% if course and not disable_courseware_header:
<div
class=
"course-header"
>
<span
class=
"provider"
>
${course.display_org_with_default}:
</span>
...
...
@@ -35,3 +27,11 @@ from branding import api as branding_api
</div>
% endif
</h1>
% if enable_enterprise_sidebar:
<div
class=
"enterprise-tagline"
>
<
%
tagline =
configuration_helpers.get_value('ENTERPRISE_TAGLINE',
settings
.
ENTERPRISE_TAGLINE
)
%
>
% if tagline:
${tagline}
% endif
</div>
% endif
lms/templates/header/navbar-logo-header.html
View file @
6cd33d68
...
...
@@ -19,14 +19,6 @@ from branding import api as branding_api
<img
class=
"logo"
src=
"${branding_api.get_logo_url(is_secure)}"
alt=
"${_("
{
platform_name
}
Home
Page
").
format
(
platform_name=
static.get_platform_name())}"/
>
</
%
block>
</a>
% if enable_enterprise_sidebar:
<span
class=
"enterprise-tagline"
>
<
%
tagline =
configuration_helpers.get_value('ENTERPRISE_TAGLINE',
settings
.
ENTERPRISE_TAGLINE
)
%
>
% if tagline:
${tagline}
% endif
</span>
% endif
% if course:
<div
class=
"course-header"
>
<span
class=
"provider"
>
${course.display_org_with_default}:
</span>
...
...
@@ -42,3 +34,11 @@ from branding import api as branding_api
</div>
% endif
</h1>
% if enable_enterprise_sidebar:
<div
class=
"enterprise-tagline"
>
<
%
tagline =
configuration_helpers.get_value('ENTERPRISE_TAGLINE',
settings
.
ENTERPRISE_TAGLINE
)
%
>
% if tagline:
${tagline}
% endif
</div>
% endif
lms/templates/navigation/navbar-logo-header.html
View file @
6cd33d68
...
...
@@ -21,14 +21,6 @@ from branding import api as branding_api
</
%
block>
</a>
</div>
% if enable_enterprise_sidebar:
<span
class=
"enterprise-tagline"
>
<
%
tagline =
configuration_helpers.get_value('ENTERPRISE_TAGLINE',
settings
.
ENTERPRISE_TAGLINE
)
%
>
% if tagline:
${tagline}
% endif
</span>
% endif
% if course:
<div
class=
"course-header"
>
<span
class=
"provider"
>
${course.display_org_with_default}:
</span>
...
...
@@ -44,3 +36,11 @@ from branding import api as branding_api
</div>
% endif
</h1>
% if enable_enterprise_sidebar:
<div
class=
"enterprise-tagline"
>
<
%
tagline =
configuration_helpers.get_value('ENTERPRISE_TAGLINE',
settings
.
ENTERPRISE_TAGLINE
)
%
>
% if tagline:
${tagline}
% endif
</div>
% endif
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