%page expression_filter="h"/> <% from django.conf import settings from django.utils.translation import ugettext as _ from contentstore.utils import ancestor_has_staff_lock, get_visibility_partition_info from openedx.core.djangolib.markup import HTML, Text partition_info = get_visibility_partition_info(xblock) selectable_partitions = partition_info["selectable_partitions"] selected_partition_index = partition_info["selected_partition_index"] selected_groups_label = partition_info["selected_groups_label"] is_staff_locked = ancestor_has_staff_lock(xblock) %>
${_('No visibility settings are defined for this component, but visibility might be affected by inherited settings.')}
% if settings.FEATURES.get('ENABLE_ENROLLMENT_TRACK_USER_PARTITION'):${_('You can make this component visible only to specific groups of learners based either on their enrollment track, or by content groups that you create.')}
% else:${_('You can make this component visible only to specific groups of learners based on content groups that you create.')}
% endif