Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
8f95f799
Commit
8f95f799
authored
May 24, 2017
by
Douglas Hall
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow for SiteConfiguration override of SOCIAL_SHARING_SETTINGS setting.
WL-1052
parent
f0f09ce6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletions
+7
-1
lms/templates/dashboard.html
+7
-1
No files found.
lms/templates/dashboard.html
View file @
8f95f799
...
...
@@ -8,6 +8,7 @@ from django.utils.translation import ugettext as _
from
django
.
template
import
RequestContext
import
third_party_auth
from
third_party_auth
import
pipeline
from
openedx
.
core
.
djangoapps
.
site_configuration
import
helpers
as
configuration_helpers
from
openedx
.
core
.
djangolib
.
js_utils
import
dump_js_escaped_json
,
js_escaped_string
from
openedx
.
core
.
djangolib
.
markup
import
HTML
,
Text
%
>
...
...
@@ -102,7 +103,12 @@ from openedx.core.djangolib.markup import HTML, Text
% if len(course_enrollments) > 0:
<ul
class=
"listing-courses"
>
<
%
share_settings =
getattr(settings,
'
SOCIAL_SHARING_SETTINGS
',
{})
%
>
<
%
share_settings =
configuration_helpers.get_value(
'
SOCIAL_SHARING_SETTINGS
',
getattr
(
settings
,
'
SOCIAL_SHARING_SETTINGS
',
{})
)
%
>
% for dashboard_index, enrollment in enumerate(course_enrollments):
<
%
show_courseware_link =
(enrollment.course_id
in
show_courseware_links_for
)
%
>
<
%
cert_status =
cert_statuses.get(enrollment.course_id)
%
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment