%page expression_filter="h"/> <%namespace name='static' file='../static_content.html'/> <%! from django.conf import settings from django.urls import reverse from django.utils.translation import ugettext as _ from edx_django_utils.monitoring import set_custom_metric from student.roles import GlobalStaff %> % if uses_pattern_library: <%! ## TODO: Use metric to see if CMS ever uses pattern library or if this case can be deleted. ## NOTE: When removing, remove all references to `set_custom_metric`. set_custom_metric('uses_pattern_library', True) %>
% else: <%! set_custom_metric('uses_pattern_library', False) %>