From 0f03bf686e2ec4eb358c355bf5f199e0f2fc6706 Mon Sep 17 00:00:00 2001 From: Kristin Aoki <42981026+KristinAoki@users.noreply.github.com> Date: Thu, 21 Nov 2024 09:30:18 -0500 Subject: [PATCH] feat: update twitter brand icon in social share (#35885) * feat: update twitter brand icon in social share * fix: icon alignment --- lms/templates/video.html | 38 ++++++++++++++++++++---------- xmodule/js/fixtures/video_all.html | 9 +++++-- 2 files changed, 32 insertions(+), 15 deletions(-) diff --git a/lms/templates/video.html b/lms/templates/video.html index 1d1a374f63..d770b71785 100644 --- a/lms/templates/video.html +++ b/lms/templates/video.html @@ -83,21 +83,33 @@ from openedx.core.djangolib.js_utils import ( -
% for sharing_site_info in sharing_sites_info: - - - ${_("Share on {site}").format(site=sharing_site_info['name'])} - + + % if (sharing_site_info['name'] == 'twitter'): + + + + + + + + % else: + + % endif + ${_("Share on {site}").format(site=sharing_site_info['name'])} + % endfor -