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
96d86e4e
Commit
96d86e4e
authored
Dec 15, 2014
by
David Baumgold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Placeholder image for Open edX Studio logo, when not running on edx.org
parent
f91c5ffd
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
13 additions
and
4 deletions
+13
-4
cms/envs/common.py
+5
-0
cms/static/images/edx-theme/edx-studio-logo.png
+0
-0
cms/static/sass/elements/_header.scss
+1
-3
cms/templates/widgets/header.html
+7
-1
common/static/images/logo-placeholder.png
+0
-0
No files found.
cms/envs/common.py
View file @
96d86e4e
...
...
@@ -115,6 +115,11 @@ FEATURES = {
# Turn off Video Upload Pipeline through Studio, by default
'ENABLE_VIDEO_UPLOAD_PIPELINE'
:
False
,
# Is this an edX-owned domain? (edx.org)
# for consistency in user-experience, keep the value of this feature flag
# in sync with the one in lms/envs/common.py
'IS_EDX_DOMAIN'
:
False
,
}
ENABLE_JASMINE
=
False
...
...
cms/static/images/edx-studio-logo.png
→
cms/static/images/edx-
theme/edx-
studio-logo.png
View file @
96d86e4e
File moved
cms/static/sass/elements/_header.scss
View file @
96d86e4e
...
...
@@ -118,7 +118,7 @@
display
:
block
;
img
{
width
:
100%
;
max-height
:
(
$baseline
*
2
)
;
display
:
block
;
}
}
...
...
@@ -237,7 +237,6 @@
}
.branding
{
width
:
20%
;
@include
margin-right
(
2%
);
}
...
...
@@ -262,7 +261,6 @@
}
.branding
{
width
:
20%
;
@include
margin-right
(
2%
);
}
...
...
cms/templates/widgets/header.html
View file @
96d86e4e
...
...
@@ -11,7 +11,13 @@
<header
class=
"primary"
role=
"banner"
>
<div
class=
"wrapper wrapper-l"
>
<h1
class=
"branding"
><a
href=
"/"
><img
src=
"${static.url("
images
/
edx-studio-logo
.
png
")}"
alt=
"${settings.STUDIO_NAME}"
/></a></h1>
<h1
class=
"branding"
><a
href=
"/"
>
% if settings.FEATURES.get('IS_EDX_DOMAIN', False):
<img
src=
"${static.url("
images
/
edx-theme
/
edx-studio-logo
.
png
")}"
alt=
"${settings.STUDIO_NAME}"
/>
% else:
<img
src=
"${static.url("
images
/
logo-placeholder
.
png
")}"
alt=
"${settings.STUDIO_NAME}"
/>
% endif
</a></h1>
% if context_course:
<
%
...
...
lms
/static/images/logo-placeholder.png
→
common
/static/images/logo-placeholder.png
View file @
96d86e4e
File moved
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