Skip to content

Commit

Permalink
SAK-49615 Lessons: Title of a Question Item incorrectly displayed
Browse files Browse the repository at this point in the history
  • Loading branch information
kunaljaykam committed Feb 9, 2024
1 parent b6c04b6 commit 52f1ebd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ public void fillComponents(UIContainer tofill, ViewParameters params, ComponentC
text = text.substring(0,50);
text = text + "...";
}
UIOutput.make(row, "text-snippet", text);
UIVerbatim.make(row, "text-snippet", text);
} else if (i.getType() == SimplePageItem.BREAK) {
if ("section".equals(i.getFormat())) {
String sectionName = (second ? ">> " : "") + messageLocator.getMessage("simplepage.break-here") + (StringUtils.isBlank(i.getName()) ? "" : " (" + i.getName() + ")");
Expand Down Expand Up @@ -373,7 +373,7 @@ private UIStyleDecorator getImageSourceDecorator(SimplePageItem pageItem) {
case SimplePageItem.ASSESSMENT:
return new UIStyleDecorator("si-sakai-samigo");
case SimplePageItem.QUESTION:
return new UIStyleDecorator("si-sakai-help");
return new UIStyleDecorator("si-question");
case SimplePageItem.COMMENTS:
return new UIStyleDecorator("si-sakai-chat");
case SimplePageItem.BLTI:
Expand Down
4 changes: 2 additions & 2 deletions lessonbuilder/tool/src/webapp/templates/Reorder.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@ <h2 id="intro" rsf:id="intro"></h2>
<div class="reordSeqContainer" style="display:none;">
<div rsf:id="seq" class="reorderSeq"></div>
</div>
<div class="reordItemContainer">
<div class="reordItemContainer fs-4">
<span rsf:id="import-indicator" class="fa fa-angle-double-right import-indicator" aria-hidden="true"></span>
<i rsf:id="icon" class="reorder-icon me-1 si"></i>
<a href="#" rsf:id="link-button"><span rsf:id="link-button-text"></span></a>
<a href="#" rsf:id="link"><span rsf:id="link-text"></span></a>
<span rsf:id="link-fake"></span>
<span rsf:id="text-snippet" class="reordItemContainerDesc textPanelFooter"></span>
<span class="reordItemContainerDesc textPanelFooter" style="" rsf:id="description"></span>
<span class="reordItemContainerDesc textPanelFooter" rsf:id="description"></span>
<a rsf:id="previewlink" class="preview-link" data-bs-toggle="modal">
<span rsf:id="text-snippet2"></span>
</a>
Expand Down
3 changes: 2 additions & 1 deletion library/src/skins/default/src/sass/base/_icons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,8 @@ $fa-font-path: "./fonts";
drag-handle: bi-list,
pin: bi-pin,
pin-fill: bi-pin-fill,
eye-slash-fill: bi-eye-slash-fill
eye-slash-fill: bi-eye-slash-fill,
question: bi-question,
);


Expand Down

0 comments on commit 52f1ebd

Please sign in to comment.