Remove pattern library of course_experience/latest-update-fragment.html

This commit is contained in:
Aura M. Alba
2020-05-26 18:58:27 -05:00
parent 53d2e24258
commit 0ad20bd5b9
3 changed files with 7 additions and 2 deletions

View File

@@ -181,9 +181,9 @@
h1,
h2,
h3 {
font-size: font-size(large);
font-weight: $font-bold;
color: $black;
margin-bottom: $baseline;
}
img {
@@ -197,8 +197,9 @@
@include float(right);
.btn-link {
color: palette(grayscale, base);
color: $gray-800;
border-color: transparent;
cursor: pointer;
}
}

View File

@@ -21,6 +21,8 @@ class LatestUpdateFragmentView(EdxFragmentView):
"""
A fragment that displays the latest course update.
"""
_uses_pattern_library = False
def render_to_fragment(self, request, course_id=None, **kwargs):
"""
Renders the latest update message fragment for the specified course.

View File

@@ -24,6 +24,8 @@ class WelcomeMessageFragmentView(EdxFragmentView):
"""
A fragment that displays a course's welcome message.
"""
_uses_pattern_library = False
def render_to_fragment(self, request, course_id=None, **kwargs):
"""
Renders the welcome message fragment for the specified course.