Files
edx-platform/cms/templates/js/course-video-sharing-enable.underscore
Leangseu Kim 0dc881e25a feat: course level public sharing video options
feat: add video sharing option field course field

chore: add social sharing document url

chore: add course check because library also using this
2023-05-02 14:57:25 -04:00

15 lines
655 B
Plaintext

<div class="course-video-sharing">
<h2 id="video-sharing-enabled-label" class="status-video-sharing-enabled-label">
<%- gettext('Video Sharing') %>
</h2>
<br>
<select id="video-sharing-configuration-options">
<% _.each({'per-video': 'Per Video','all-on': 'All Videos','all-off': 'No Videos'}, function (option, key) { %>
<option value="<%- key %>" <% if (key === video_sharing_options) { %> selected="true" <% } %>>
<%- option %>
</option>
<% }) %>
</select>
<a class="status-video-sharing-enabled-info" href="<%- video_sharing_doc_url %>" rel="noopener" target="_blank"><%- gettext('Learn more') %></a>
</div>