Skip to content

Commit

Permalink
Merge pull request #34432 from DmytroAlipov/add-adaptive-display-of-l…
Browse files Browse the repository at this point in the history
…inks
  • Loading branch information
pdpinch authored Oct 15, 2024
2 parents 2bbd8ec + e4c6956 commit c3d68b1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cms/templates/course_outline.html
Original file line number Diff line number Diff line change
Expand Up @@ -76,14 +76,18 @@ <h2 class="title title-3">${_("This course was created as a re-run. Some manual
${_("This course run is using an upgraded version of edx discussion forum. In order to display the discussions sidebar, discussions xBlocks will no longer be visible to learners.")}
</div>
<div style="margin-left:auto; width:fit-content;">
%if settings.DISCUSSIONS_INCONTEXT_LEARNMORE_URL:
<span>
<a href="${settings.DISCUSSIONS_INCONTEXT_LEARNMORE_URL}" target="_blank" rel="noreferrer noopener">${_(" Learn more")}</a>
<i class="fa fa-share-square-o" aria-hidden="true"></i>
</span>
%endif
%if settings.DISCUSSIONS_INCONTEXT_FEEDBACK_URL:
<span style="margin-left: 1rem">
<a href="${settings.DISCUSSIONS_INCONTEXT_FEEDBACK_URL}" target="_blank" rel="noreferrer noopener">${_("Share feedback")}</a>
<i class="fa fa-share-square-o" aria-hidden="true"></i>
</span>
%endif
</div>
</div>
</div>
Expand Down

0 comments on commit c3d68b1

Please sign in to comment.