%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) %>
${_('Access to this component is not restricted, but visibility might be affected by inherited settings.')}
% if settings.FEATURES.get('ENABLE_ENROLLMENT_TRACK_USER_PARTITION'):${_('You can restrict access to this component to learners in specific enrollment tracks or content groups.')}
% else:${_('You can restrict access to this component to learners in specific content groups.')}
% endif