asadiqbal08/SOL-766: Add Facebook sharing to certificate view
* updated the flags for social media sharing * added facebook feed ui to share public url * update the condition logic * update the code as per suggestion and added pick new style for share buttons * update the css class reference * update the bok-choy test * updated description and some text touch-ups * moved the JS related to facebook into separate location * js formatting * Add trailing comma per chrisndodge * Add wait to fix flaky test...maybe
This commit is contained in:
@@ -73,8 +73,8 @@ class CourseMetadata(object):
|
||||
filtered_list.append('facebook_url')
|
||||
|
||||
# Do not show social sharing url field if the feature is disabled.
|
||||
if (not settings.FEATURES.get('DASHBOARD_SHARE_SETTINGS') or
|
||||
not settings.FEATURES.get("DASHBOARD_SHARE_SETTINGS").get("CUSTOM_COURSE_URLS")):
|
||||
if (not settings.FEATURES.get('SOCIAL_SHARING_SETTINGS') or
|
||||
not settings.FEATURES.get("SOCIAL_SHARING_SETTINGS").get("CUSTOM_COURSE_URLS")):
|
||||
filtered_list.append('social_sharing_url')
|
||||
|
||||
# Do not show teams configuration if feature is disabled.
|
||||
|
||||
Reference in New Issue
Block a user