feat: Change the text of the Studio button to add an HTML component

to read "Text" and display a text icon instead of a "</>" icon.
This commit is contained in:
Julia Eskew
2021-12-10 17:19:03 -05:00
committed by Julia Eskew
parent 85c6cea965
commit 05ff94a993
3 changed files with 2 additions and 2 deletions

View File

@@ -275,7 +275,7 @@ def get_component_templates(courselike, library=False): # lint-amnesty, pylint:
component_display_names = {
'discussion': _("Discussion"),
'html': _("HTML"),
'html': _("Text"),
'problem': _("Problem"),
'video': _("Video"),
'openassessment': _("Open Response")

Binary file not shown.

After

Width:  |  Height:  |  Size: 304 B

View File

@@ -29,7 +29,7 @@
display: inline-block;
width: ($baseline*3);
height: ($baseline*3);
background: url('#{$static-path}/images/large-html-icon.png') center no-repeat;
background: url('#{$static-path}/images/large-text-icon.png') center no-repeat;
}
.large-problem-icon {