From df6a60b0e08b9b0f8331796eac3f36154ef16368 Mon Sep 17 00:00:00 2001 From: Nathan Sprenkle Date: Mon, 24 Apr 2023 10:04:03 -0400 Subject: [PATCH] feat: video share icons (#32111) * feat: replace video share links with icons * feat: add download / share icons to video block * feat: consistent styling for transcript links * feat: change order of download/share for videos --- lms/templates/video.html | 28 +++++++++++++++++----------- xmodule/css/video/display.scss | 5 +++++ 2 files changed, 22 insertions(+), 11 deletions(-) diff --git a/lms/templates/video.html b/lms/templates/video.html index af361db82d..f4f4ec9a55 100644 --- a/lms/templates/video.html +++ b/lms/templates/video.html @@ -52,15 +52,8 @@ from openedx.core.djangolib.js_utils import ( % if download_video_link or public_video_url:

${_('Video')}

- % if download_video_link: - - ${_('Download video file')} - - % endif - % if download_video_link and public_video_url: -
- % endif % if public_video_url: + ${_('Share on:')} - ${_('Twitter')} + + ${_('Share on Twitter')} - ${_('Facebook')} + + ${_('Share on Facebook')} - ${_('Linkedin')} + + ${_('Share on LinkedIn')} + + % endif + % if download_video_link and public_video_url: +
+ % endif + % if download_video_link: + + + ${_('Download video file')} % endif
@@ -96,6 +101,7 @@ from openedx.core.djangolib.js_utils import (