* feat: add share link modal when hide from toc is enabled Adds a new button in the child subsections of sections with Hide From TOC enabled. This button displays a new modal with two tabs. The first tab displays a button that allows you to copy the link of that subsection to the clipboard. The second tab displays a button that allows you to copy the embedded link of the same subsection to the clipboard. Ref: https://openedx.atlassian.net/wiki/spaces/OEPM/pages/3853975595/Feature+Enhancement+Proposal+Hide+Sections+from+course+outline
21 lines
913 B
Plaintext
21 lines
913 B
Plaintext
<div class="modal-section-content">
|
|
<div class="subsection-share-link-container">
|
|
<div>
|
|
<p>
|
|
<%- gettext('When sharing this link with your learners, they will see the content of the subsection along with the header and footer of your LMS.') %>
|
|
</p>
|
|
<button
|
|
type="button"
|
|
id="full-page-link-button"
|
|
data-clipboard-text="<%- lmsUrl %>"
|
|
title="<%- gettext('Click to copy link to clipboard') %>"
|
|
class="button btn-primary copy-link-button"
|
|
>
|
|
<span class="icon fa fa-clipboard icon-copy-clipboard"></span>
|
|
<span class="copy-link-button-text"><%- gettext('Copy link') %></span>
|
|
</button>
|
|
</div>
|
|
<img class="share-link-animated-svg" src="/static/studio/images/subsection-full-page.svg">
|
|
</div>
|
|
</div>
|