Commit 0dfe4a32 by Brian Talbot

Merge pull request #1214 from edx/talbs/fix-studio-bodyclasses

Studio: Fix - HTML <body> class regressions
parents 53e10501 38b04f2a
// studio - views - unit // studio - views - unit
// ==================== // ====================
.view-unit { body.course.unit,.view-unit {
.main-wrapper { .main-wrapper {
margin-top: ($baseline*2); margin-top: ($baseline*2);
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<!-- TODO decode course # from context_course into title --> <!-- TODO decode course # from context_course into title -->
<%block name="title">${_("Course Updates")}</%block> <%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"> <%block name="header_extras">
% for template_name in ["course_info_update", "course_info_handouts"]: % for template_name in ["course_info_update", "course_info_handouts"]:
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<%! from django.core.urlresolvers import reverse %> <%! from django.core.urlresolvers import reverse %>
<%namespace name="units" file="widgets/units.html" /> <%namespace name="units" file="widgets/units.html" />
<%block name="title">${_("Individual Unit")}</%block> <%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"> <%block name="jsextra">
<script type='text/javascript'> <script type='text/javascript'>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment