Revert "revert 84 multiple orgs/mani.fic" (#102)

* Revert "swap-course-name-num (#101)"

This reverts commit 92011583f0.

* Revert "Revert "This change will add the ability to look in to list of organizations for a single Site" (#99)"

This reverts commit ae1a3a8e23.
This commit is contained in:
Stephen Dolenc 2017-07-20 15:19:01 -07:00 коммит произвёл GitHub
Родитель 92011583f0
Коммит edc673485d
6 изменённых файлов: 6 добавлений и 6 удалений

Просмотреть файл

@ -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">