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
0dfe4a32
Commit
0dfe4a32
authored
Oct 03, 2013
by
Brian Talbot
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1214 from edx/talbs/fix-studio-bodyclasses
Studio: Fix - HTML <body> class regressions
parents
53e10501
38b04f2a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
cms/static/sass/views/_unit.scss
+1
-1
cms/templates/course_info.html
+1
-1
cms/templates/unit.html
+1
-1
No files found.
cms/static/sass/views/_unit.scss
View file @
0dfe4a32
// studio - views - unit
// ====================
.view-unit
{
body
.course.unit
,
.view-unit
{
.main-wrapper
{
margin-top
:
(
$baseline
*
2
);
...
...
cms/templates/course_info.html
View file @
0dfe4a32
...
...
@@ -4,7 +4,7 @@
<!-- TODO decode course # from context_course into title -->
<
%
block
name=
"title"
>
${_("Course Updates")}
</
%
block>
<
%
block
name=
"bodyclass"
>
is-signedin course view-updates
</
%
block>
<
%
block
name=
"bodyclass"
>
is-signedin course
course-info updates
view-updates
</
%
block>
<
%
block
name=
"header_extras"
>
% for template_name in ["course_info_update", "course_info_handouts"]:
...
...
cms/templates/unit.html
View file @
0dfe4a32
...
...
@@ -3,7 +3,7 @@
<
%!
from
django
.
core
.
urlresolvers
import
reverse
%
>
<
%
namespace
name=
"units"
file=
"widgets/units.html"
/>
<
%
block
name=
"title"
>
${_("Individual Unit")}
</
%
block>
<
%
block
name=
"bodyclass"
>
is-signedin course unit
</
%
block>
<
%
block
name=
"bodyclass"
>
is-signedin course unit
view-unit
</
%
block>
<
%
block
name=
"jsextra"
>
<script
type=
'text/javascript'
>
...
...
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