Revert "revert 84 multiple orgs/mani.fic" (#102)
* Revert "swap-course-name-num (#101)" This reverts commit92011583f0
. * Revert "Revert "This change will add the ability to look in to list of organizations for a single Site" (#99)" This reverts commitae1a3a8e23
.
This commit is contained in:
Родитель
92011583f0
Коммит
edc673485d
|
@ -12,7 +12,7 @@ from openedx.core.djangoapps.site_configuration import helpers as configuration_
|
|||
<%
|
||||
my_course_org_filter = configuration_helpers.get_value('course_org_filter')
|
||||
%>
|
||||
% if my_course_org_filter == course.display_org_with_default:
|
||||
% if course.display_org_with_default in my_course_org_filter:
|
||||
<%block name="headextra">
|
||||
## OG (Open Graph) title and description added below to give social media info to display
|
||||
## (https://developers.facebook.com/docs/opengraph/howtos/maximizing-distribution-media-content#tags)
|
||||
|
|
|
@ -14,7 +14,7 @@ from openedx.core.djangoapps.site_configuration import helpers as configuration_
|
|||
<%
|
||||
my_course_org_filter = configuration_helpers.get_value('course_org_filter')
|
||||
%>
|
||||
% if my_course_org_filter == course.display_org_with_default:
|
||||
% if course.display_org_with_default in my_course_org_filter:
|
||||
<%
|
||||
include_special_exams = settings.FEATURES.get('ENABLE_SPECIAL_EXAMS', False) and (course.enable_proctored_exams or course.enable_timed_exams)
|
||||
%>
|
||||
|
|
|
@ -16,7 +16,7 @@ from openedx.core.djangoapps.site_configuration import helpers as configuration_
|
|||
<%
|
||||
my_course_org_filter = configuration_helpers.get_value('course_org_filter')
|
||||
%>
|
||||
% if my_course_org_filter == course.display_org_with_default:
|
||||
% if course.display_org_with_default in my_course_org_filter:
|
||||
<%block name="pagetitle">${_("{course_number} Course Info").format(course_number=course.display_number_with_default)}</%block>
|
||||
|
||||
<%block name="headextra">
|
||||
|
|
|
@ -12,7 +12,7 @@ from openedx.core.djangoapps.site_configuration import helpers as configuration_
|
|||
<%
|
||||
my_course_org_filter = configuration_helpers.get_value('course_org_filter')
|
||||
%>
|
||||
% if my_course_org_filter == course.display_org_with_default and user.is_authenticated():
|
||||
% if course.display_org_with_default in my_course_org_filter and user.is_authenticated():
|
||||
<%block name="headextra">
|
||||
## OG (Open Graph) title and description added below to give social media info to display
|
||||
## (https://developers.facebook.com/docs/opengraph/howtos/maximizing-distribution-media-content#tags)
|
||||
|
|
|
@ -14,7 +14,7 @@ from openedx.core.djangoapps.site_configuration import helpers as configuration_
|
|||
<%
|
||||
my_course_org_filter = configuration_helpers.get_value('course_org_filter')
|
||||
%>
|
||||
% if my_course_org_filter == course.display_org_with_default:
|
||||
% if course.display_org_with_default in my_course_org_filter and user.is_authenticated():
|
||||
<%
|
||||
include_special_exams = settings.FEATURES.get('ENABLE_SPECIAL_EXAMS', False) and (course.enable_proctored_exams or course.enable_timed_exams)
|
||||
%>
|
||||
|
|
|
@ -16,7 +16,7 @@ from openedx.core.djangoapps.site_configuration import helpers as configuration_
|
|||
<%
|
||||
my_course_org_filter = configuration_helpers.get_value('course_org_filter')
|
||||
%>
|
||||
% if my_course_org_filter == course.display_org_with_default and user.is_authenticated():
|
||||
% if course.display_org_with_default in my_course_org_filter and user.is_authenticated():
|
||||
<%block name="pagetitle">${_("{course_number} Course Info").format(course_number=course.display_number_with_default)}</%block>
|
||||
|
||||
<%block name="headextra">
|
||||
|
|
Загрузка…
Ссылка в новой задаче